gamepad

module gamepad

Dependencies

dep_module_android__gamepadinput_eventsinput_eventsgamepadgamepadgamepad->input_events

Concerns

from android::input_events

AndroidKeyEvent

redef extern class AndroidKeyEvent

An hardware key event

Introduces
  • is_a: Was self raised by the A button?
  • is_b: Was self raised by the B button?
  • is_x: Was self raised by the X button?
  • is_y: Was self raised by the Y button?
  • is_dpad: Was self raised by the directional pad?
  • is_dpad_up: Was self raised by the up key on the directional pad?
  • is_dpad_down: Was self raised by the down key on the directional pad?
  • is_dpad_left: Was self raised by the left key on the directional pad?
  • is_dpad_right: Was self raised by the right key on the directional pad?
  • is_start: Was self raised by the start button?
  • is_select: Was self raised by the select button?
  • is_bumper_right: Was self raised by the right bumper button?
  • is_trigger_right: Was self raised by the right trigger?
  • is_bumper_left: Was self raised by the left bumper?
  • is_trigger_left: Was self raised by the left trigger?
  • is_media_previous: Was self raised by the media button 'previous'?
  • is_media_pause: Was self raised by the media button 'pause'?
  • is_media_next: Was self raised by the media button 'next'?