Home
last modified time | relevance | path

Searched refs:hasJoystickAxesOrButtons (Results 1 - 1 of 1) sorted by relevance

/foundation/multimodalinput/input/libudev/src/
H A Dudev_device.cpp373 bool hasJoystickAxesOrButtons = false; in HasJoystickAxesOrButtons() local
376 for (int32_t button = BTN_JOYSTICK; button < BTN_DIGI && !hasJoystickAxesOrButtons; button++) { in HasJoystickAxesOrButtons()
377 hasJoystickAxesOrButtons = key.CheckBit(button); in HasJoystickAxesOrButtons()
379 for (int32_t button = BTN_TRIGGER_HAPPY1; button <= BTN_TRIGGER_HAPPY40 && !hasJoystickAxesOrButtons; in HasJoystickAxesOrButtons()
381 hasJoystickAxesOrButtons = key.CheckBit(button); in HasJoystickAxesOrButtons()
383 for (int32_t button = BTN_DPAD_UP; button <= BTN_DPAD_RIGHT && !hasJoystickAxesOrButtons; button++) { in HasJoystickAxesOrButtons()
384 hasJoystickAxesOrButtons = key.CheckBit(button); in HasJoystickAxesOrButtons()
387 for (int32_t axis = ABS_RX; axis < ABS_PRESSURE && !hasJoystickAxesOrButtons; axis++) { in HasJoystickAxesOrButtons()
388 hasJoystickAxesOrButtons = abs.CheckBit(axis); in HasJoystickAxesOrButtons()
390 return hasJoystickAxesOrButtons; in HasJoystickAxesOrButtons()
[all...]

Completed in 2 milliseconds