Lines Matching refs:hasJoystickAxesOrButtons
373 bool hasJoystickAxesOrButtons = false;
376 for (int32_t button = BTN_JOYSTICK; button < BTN_DIGI && !hasJoystickAxesOrButtons; button++) {
377 hasJoystickAxesOrButtons = key.CheckBit(button);
379 for (int32_t button = BTN_TRIGGER_HAPPY1; button <= BTN_TRIGGER_HAPPY40 && !hasJoystickAxesOrButtons;
381 hasJoystickAxesOrButtons = key.CheckBit(button);
383 for (int32_t button = BTN_DPAD_UP; button <= BTN_DPAD_RIGHT && !hasJoystickAxesOrButtons; button++) {
384 hasJoystickAxesOrButtons = key.CheckBit(button);
387 for (int32_t axis = ABS_RX; axis < ABS_PRESSURE && !hasJoystickAxesOrButtons; axis++) {
388 hasJoystickAxesOrButtons = abs.CheckBit(axis);
390 return hasJoystickAxesOrButtons;