AndunHH / spacemouse

Repository for the space mouse based on four joysticks and keys
Other
42 stars 9 forks source link

Added Key support for some first buttons like FIT, T, R, 3 and 4 #29

Closed AndunHH closed 1 week ago

AndunHH commented 2 weeks ago

I added and corrected the routine for sending key events, based on issue #28.

As of now I found out the Keys for:

I opened onshape in the browser and tried every of the first 15 bits, if they produce some output and mapped them to the 3dconnexion software. Please test it and find the missing bit/key combinations!

Hint: I didn't had to use the scrambled assignment of the libspacenav, which was shown to me here: https://github.com/FreeSpacenav/spacenavd/discussions/74 and https://github.com/FreeSpacenav/spacenavd/blob/c6f8a6bf4aa5024c0317f4bb215f828e4219d61f/src/dev.c#L442 But maybe it helps someone... ?