devshift / jnativehook

Automatically exported from code.google.com/p/jnativehook
0 stars 0 forks source link

Not working in Mac OS X? #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download the .jar (1.1.2) from the Downloads tab, which should just include 
a .jar of size 148 kb.
2. Try to run the .jar in Mac OS, and it doesn't update.  I've tried running in 
a virtual machine, and on an actual Mac, and it doesn't work.  The applet 
starts, but no further information is picked up (from the mouse or keyboard).

What is the expected output? What do you see instead?
The expected output is for this to track the mouse and key presses/releases.  
However, instead, here are the only lines that appear:

Auto Repeat Rate: 75
Auto Repeat Delay: 450
Double Click Time: 450
Pointer Sensitivity: 11
Pointer Acceleration Multiplier: 16
Pointer Acceleration Threshold: null

I can check and uncheck the event monitoring, but it doesn't seem to do 
anything.

Please provide any additional information below.
I've managed to compile the source on Windows, and my compiled .jar is only 47 
kb, not 148 kb.  Both .jar's run fine on Windows, but the 47kb does not run 
whatsoever on the Mac.  I'm assuming this is to be expected, since it was 
compiled on Windows.

Thanks!

Original issue reported on code.google.com by asholtzh...@email.wm.edu on 14 Nov 2012 at 1:49

GoogleCodeExporter commented 9 years ago
I apologize, it turns out I had to enable Universal Access for devices.  I had 
to go back a few versions before I caught this in the command-line.  Perhaps 
suggest this in the installation instructions for Apple?

Original comment by asholtzh...@email.wm.edu on 14 Nov 2012 at 3:41

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Was an exception thrown for you when Universal Access was disabled?  I will 
update the documentation to include instructions for creating a multi-platform 
jar and for the Universal Access requirement. 

Original comment by a...@1stleg.com on 14 Nov 2012 at 5:04

GoogleCodeExporter commented 9 years ago
On version 1.0.2288, there was an exception thrown on the console.

On version 1.1.1 (may have been 1.1.0.. going from memory), the exception was 
thrown and shown on the applet itself.

On 1.1.2, I did not notice an exception at all.

And this sounds great, thanks!

Original comment by asholtzh...@email.wm.edu on 14 Nov 2012 at 7:27

GoogleCodeExporter commented 9 years ago
This should be fixed as of r666.  Both the exception and wiki where updated.

Original comment by a...@1stleg.com on 23 Nov 2012 at 6:21