HomeSort by relevance Sort by last modified time
    Searched refs:joystick (Results 1 - 14 of 14) sorted by null

  /hardware/bsp/intel/peripheral/libupm/examples/java/
Joystick12_exampleSample.java 38 // Instantiate a joystick on analog pins A0 and A1
39 upm_joystick12.Joystick12 joystick = new upm_joystick12.Joystick12(0,1); local
43 float x = joystick.getXInput();
44 float y = joystick.getYInput();
  /prebuilts/misc/darwin-x86_64/sdl2/include/SDL2/
SDL_joystick.h 25 * Include file for SDL joystick event handling
27 * The term "device_index" identifies currently plugged in joystick devices between 0 and SDL_NumJoysticks, with the exact joystick
30 * The term "instance_id" is the current instantiation of a joystick device in the system, if the joystick is removed and then re-inserted
31 * then it will get a new instance_id, instance_id's are monotonically increasing identifiers of a joystick plugged in.
33 * The term JoystickGUID is a stable 128-bit identifier for a joystick device that does not change over time, it identifies class of
58 * If you would like to receive joystick updates while the application
63 /* The joystick structure used to identify an SDL joystick */
    [all...]
SDL_haptic.h 32 * - SDL_HapticOpenFromJoystick() to open from an existing joystick.
63 * int test_haptic( SDL_Joystick * joystick ) {
69 * haptic = SDL_HapticOpenFromJoystick( joystick );
70 * if (haptic == NULL) return -1; // Most likely joystick isn't haptic
452 * to the joystick.
607 Uint16 right_sat[3]; /**< Level when joystick is to the positive side. */
608 Uint16 left_sat[3]; /**< Level when joystick is to the negative side. */
733 * the joystick.
887 * \brief Checks to see if a joystick has haptic features.
889 * \param joystick Joystick to test for haptic capabilities
    [all...]
  /prebuilts/misc/windows/sdl2/i686-w64-mingw32/include/SDL2/
SDL_joystick.h 25 * Include file for SDL joystick event handling
27 * The term "device_index" identifies currently plugged in joystick devices between 0 and SDL_NumJoysticks, with the exact joystick
30 * The term "instance_id" is the current instantiation of a joystick device in the system, if the joystick is removed and then re-inserted
31 * then it will get a new instance_id, instance_id's are monotonically increasing identifiers of a joystick plugged in.
33 * The term JoystickGUID is a stable 128-bit identifier for a joystick device that does not change over time, it identifies class of
58 * If you would like to receive joystick updates while the application
63 /* The joystick structure used to identify an SDL joystick */
    [all...]
SDL_haptic.h 32 * - SDL_HapticOpenFromJoystick() to open from an existing joystick.
63 * int test_haptic( SDL_Joystick * joystick ) {
69 * haptic = SDL_HapticOpenFromJoystick( joystick );
70 * if (haptic == NULL) return -1; // Most likely joystick isn't haptic
452 * to the joystick.
607 Uint16 right_sat[3]; /**< Level when joystick is to the positive side. */
608 Uint16 left_sat[3]; /**< Level when joystick is to the negative side. */
733 * the joystick.
887 * \brief Checks to see if a joystick has haptic features.
889 * \param joystick Joystick to test for haptic capabilities
    [all...]
  /prebuilts/misc/windows/sdl2/include/
SDL_joystick.h 25 * Include file for SDL joystick event handling
27 * The term "device_index" identifies currently plugged in joystick devices between 0 and SDL_NumJoysticks, with the exact joystick
30 * The term "instance_id" is the current instantiation of a joystick device in the system, if the joystick is removed and then re-inserted
31 * then it will get a new instance_id, instance_id's are monotonically increasing identifiers of a joystick plugged in.
33 * The term JoystickGUID is a stable 128-bit identifier for a joystick device that does not change over time, it identifies class of
58 * If you would like to receive joystick updates while the application
63 /* The joystick structure used to identify an SDL joystick */
    [all...]
SDL_haptic.h 32 * - SDL_HapticOpenFromJoystick() to open from an existing joystick.
63 * int test_haptic( SDL_Joystick * joystick ) {
69 * haptic = SDL_HapticOpenFromJoystick( joystick );
70 * if (haptic == NULL) return -1; // Most likely joystick isn't haptic
452 * to the joystick.
607 Uint16 right_sat[3]; /**< Level when joystick is to the positive side. */
608 Uint16 left_sat[3]; /**< Level when joystick is to the negative side. */
733 * the joystick.
887 * \brief Checks to see if a joystick has haptic features.
889 * \param joystick Joystick to test for haptic capabilities
    [all...]
  /prebuilts/misc/windows/sdl2/x86_64-w64-mingw32/include/SDL2/
SDL_joystick.h 25 * Include file for SDL joystick event handling
27 * The term "device_index" identifies currently plugged in joystick devices between 0 and SDL_NumJoysticks, with the exact joystick
30 * The term "instance_id" is the current instantiation of a joystick device in the system, if the joystick is removed and then re-inserted
31 * then it will get a new instance_id, instance_id's are monotonically increasing identifiers of a joystick plugged in.
33 * The term JoystickGUID is a stable 128-bit identifier for a joystick device that does not change over time, it identifies class of
58 * If you would like to receive joystick updates while the application
63 /* The joystick structure used to identify an SDL joystick */
    [all...]
SDL_haptic.h 32 * - SDL_HapticOpenFromJoystick() to open from an existing joystick.
63 * int test_haptic( SDL_Joystick * joystick ) {
69 * haptic = SDL_HapticOpenFromJoystick( joystick );
70 * if (haptic == NULL) return -1; // Most likely joystick isn't haptic
452 * to the joystick.
607 Uint16 right_sat[3]; /**< Level when joystick is to the positive side. */
608 Uint16 left_sat[3]; /**< Level when joystick is to the negative side. */
733 * the joystick.
887 * \brief Checks to see if a joystick has haptic features.
889 * \param joystick Joystick to test for haptic capabilities
    [all...]
  /prebuilts/misc/windows/sdl2/test/
testjoystick.c 13 /* Simple program to test the SDL joystick routines */
40 WatchJoystick(SDL_Joystick * joystick)
50 /* Create a window to display joystick axis position */
51 window = SDL_CreateWindow("Joystick Test", SDL_WINDOWPOS_CENTERED,
71 /* Print info about the joystick we are watching */
72 name = SDL_JoystickName(joystick);
73 SDL_Log("Watching joystick %d: (%s)\n", SDL_JoystickInstanceID(joystick),
74 name ? name : "Unknown Joystick");
75 SDL_Log("Joystick has %d axes, %d hats, %d balls, and %d buttons\n"
212 SDL_Joystick *joystick; local
    [all...]
testhotplug.c 13 /* Simple program to test the SDL joystick hotplugging */
27 SDL_Joystick *joystick = NULL; local
73 if (joystick != NULL)
75 SDL_Log("Only one joystick supported by this test\n");
79 joystick = SDL_JoystickOpen(event.jdevice.which);
80 instance = SDL_JoystickInstanceID(joystick);
81 SDL_Log("Joy Added : %d : %s\n", event.jdevice.which, SDL_JoystickName(joystick));
84 if (SDL_JoystickIsHaptic(joystick))
86 haptic = SDL_HapticOpenFromJoystick(joystick);
117 SDL_JoystickClose(joystick);
    [all...]
controllermap.c 100 WatchJoystick(SDL_Joystick * joystick)
139 /* Create a window to display joystick axis position */
163 /* Print info about the joystick we are watching */
164 name = SDL_JoystickName(joystick);
165 SDL_Log("Watching joystick %d: (%s)\n", SDL_JoystickInstanceID(joystick),
166 name ? name : "Unknown Joystick");
167 SDL_Log("Joystick has %d axes, %d hats, %d balls, and %d buttons\n",
168 SDL_JoystickNumAxes(joystick), SDL_JoystickNumHats(joystick),
342 SDL_Joystick *joystick; local
    [all...]
  /hardware/bsp/intel/peripheral/libupm/examples/javascript/
joystick12.js 28 var joystick = require('jsupm_joystick12'); variable
30 // Instantiate a joystick on analog pins A0 and A1
31 var myJoystick = new joystick.Joystick12(0, 1);
  /external/skia/platform_tools/android/apps/visualbenchsdl/src/main/java/org/libsdl/app/
SDLActivity.java 674 // Joystick glue code, just a series of stubs that redirect to the SDLJoystickHandler instance
1541 SDLJoystick joystick = getJoystick(deviceIds[i]); local
1619 SDLJoystick joystick = getJoystick(event.getDeviceId()); local
    [all...]

Completed in 207 milliseconds