JavaFX KeyCode GAME_<codes>


2 posts
by jackokring » Fri Dec 21, 2012 12:40 am
Getting into JavaFX programming. To save some coding, anyone know what the key mapping is for GAME_A, GAME_B, GAME_C and GAME_D are? I just think it would be nice to have a semi-standard key set. The cursor keys are obvious. It would also simplify the task of making a little app which maps joysticks and joypads to known keys. It would save us all writing the same code over and over.
Pi=B256R0USB CL4SD8GB Raspbian Stock. https://sites.google.com/site/rubikcompression/strictly-long
User avatar
Posts: 746
Joined: Tue Jul 31, 2012 8:27 am
Location: London, UK
by danielblaukopf » Mon Dec 31, 2012 7:57 pm
There isn't a mapping for joysticks or gamepads available at the moment, although it should be possible to use a tool like xboxdrv to create one in userland.

I opened a JIRA issue on this for tracking http://javafx-jira.kenai.com/browse/RT-27283.

Daniel
Posts: 35
Joined: Thu Dec 20, 2012 8:03 pm