/external/qemu/distrib/sdl-1.2.15/src/joystick/bsd/ |
SDL_sysjoystick.c | 132 BSDJOY_JOY /* joy(4) */ 187 SDL_snprintf(s, SDL_arraysize(s), "/dev/joy%d", i); 254 SDL_SYS_JoystickOpen(SDL_Joystick *joy) 256 char *path = joynames[joy->index]; 276 joy->hwdata = hw; 285 if (! SDL_strncmp(path, "/dev/joy", 8)) { 287 joy->naxes = 2; 288 joy->nbuttons = 2; 289 joy->nhats = 0; 290 joy->nballs = 0 [all...] |
/external/jmonkeyengine/engine/src/test/jme3test/input/ |
TestJoystick.java | 26 for (Joystick joy : joysticks){ 27 System.out.println(joy.toString()); 36 inputManager.addMapping("Joy Left", new JoyAxisTrigger(0, 0, true)); 37 inputManager.addMapping("Joy Right", new JoyAxisTrigger(0, 0, false)); 38 inputManager.addMapping("Joy Down", new JoyAxisTrigger(0, 1, true)); 39 inputManager.addMapping("Joy Up", new JoyAxisTrigger(0, 1, false)); 40 inputManager.addListener(this, "Joy Left", "Joy Right", "Joy Down", "Joy Up") [all...] |
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/input/lwjgl/ |
JInputJoyInput.java | 99 Joystick joy = new Joystick(inputManager, local 105 joysticks[joyIndex] = joy;
|
/external/qemu/distrib/sdl-1.2.15/src/joystick/linux/ |
SDL_sysjoystick.c | 84 {logical joy, logical axis}, 85 {logical joy, logical hat}, 86 {logical joy, logical ball}, 87 {logical joy, logical button} 265 SDL_Joystick* joy; member in struct:__anon13330 811 SDL_joylist[joystick->index].joy = joystick; 864 logicaljoy = SDL_joylist[i].joy; 1000 JS_HandleEvents(SDL_joylist[i].joy); 1086 return EV_HandleEvents(SDL_joylist[i].joy); 1187 SDL_JoystickClose(SDL_joylist[i].joy); [all...] |