Event: Structures and enumerations
- Enumerations
- VGAG3_PRESSED
Kind of key-pressing.VGAG3_IS_PRESSED Key/button/axis/mouse is being pressed VGAG3_IS_NEW_PRESSED Key/button/axis/mouse is pressed once - VGAG3_KEYS
Keys of keyboard.VGAG3_KEY_NOKEY No key but lowest enumeration number VGAG3_KEY_ESC Escape key VGAG3_KEY_0 0 VGAG3_KEY_1 1 VGAG3_KEY_2 2 VGAG3_KEY_3 3 VGAG3_KEY_4 4 VGAG3_KEY_5 5 VGAG3_KEY_6 6 VGAG3_KEY_7 7 VGAG3_KEY_8 8 VGAG3_KEY_9 9 VGAG3_KEY_A A VGAG3_KEY_B B VGAG3_KEY_C C VGAG3_KEY_D D VGAG3_KEY_E E VGAG3_KEY_F F VGAG3_KEY_G G VGAG3_KEY_H H VGAG3_KEY_I I VGAG3_KEY_J J VGAG3_KEY_K K VGAG3_KEY_L L VGAG3_KEY_M M VGAG3_KEY_N N VGAG3_KEY_O O VGAG3_KEY_P P VGAG3_KEY_Q Q VGAG3_KEY_R R VGAG3_KEY_S S VGAG3_KEY_T T VGAG3_KEY_U U VGAG3_KEY_V V VGAG3_KEY_W W VGAG3_KEY_X X VGAG3_KEY_Y Y VGAG3_KEY_Z Z VGAG3_KEY_KP_0 Keypad 0 VGAG3_KEY_KP_1 Keypad 1 VGAG3_KEY_KP_2 Keypad 2 VGAG3_KEY_KP_3 Keypad 3 VGAG3_KEY_KP_4 Keypad 4 VGAG3_KEY_KP_5 Keypad 5 VGAG3_KEY_KP_6 Keypad 6 VGAG3_KEY_KP_7 Keypad 7 VGAG3_KEY_KP_8 Keypad 8 VGAG3_KEY_KP_9 Keypad 9 VGAG3_KEY_TAB Tabulator key VGAG3_KEY_LSHIFT Left shift key VGAG3_KEY_RSHIFT Right shift key VGAG3_KEY_LCTRL Left control key VGAG3_KEY_RCTRL Right control key VGAG3_KEY_LALT Left alt key VGAG3_KEY_RALT Right alt key VGAG3_KEY_SPACE Space key VGAG3_KEY_ENTER Return key and Enter key VGAG3_KEY_BACKSPACE Backspace key VGAG3_KEY_LCURS Left cursor key VGAG3_KEY_RCURS Right cursor key VGAG3_KEY_UCURS Up cursor key VGAG3_KEY_DCURS Down cursor key VGAG3_KEY_F1 F1 function key VGAG3_KEY_F2 F2 function key VGAG3_KEY_F3 F3 function key VGAG3_KEY_F4 F4 function key VGAG3_KEY_F5 F5 function key VGAG3_KEY_F6 F6 function key VGAG3_KEY_F7 F7 function key VGAG3_KEY_F8 F8 function key VGAG3_KEY_F9 F9 function key VGAG3_KEY_F10 F10 function key VGAG3_KEY_F11 F11 function key VGAG3_KEY_F12 F12 function key VGAG3_KEY_PGUP Page up key VGAG3_KEY_PGDOWN Page down key VGAG3_KEY_MAXENUM No key but highest enumeration number - VGAG3_GCS
Gamecontroller keys and axes.VGAG3_GC_NOKEY No key but lowest enumeration number VGAG3_GC_BUTTON_A A-Button (right button-cross): down VGAG3_GC_BUTTON_B B-Button (right button-cross): right VGAG3_GC_BUTTON_X X-Button (right button-cross): left VGAG3_GC_BUTTON_Y Y-Button (right button-cross): up VGAG3_GC_BUTTON_BACK Back-Button (located middle left) VGAG3_GC_BUTTON_GUIDE Guide-Button (located middle) VGAG3_GC_BUTTON_START Start-Button (located middle right) VGAG3_GC_BUTTON_LEFTSTICK Leftstick-Button (clicking on left axis) VGAG3_GC_BUTTON_RIGHTSTICK Rightstick-Button (clicking on right axis) VGAG3_GC_BUTTON_LEFTSHOULDER Leftshoulder-Button (located front left) VGAG3_GC_BUTTON_RIGHTSHOULDER Rightshoulder-Button (located front right) VGAG3_GC_BUTTON_DPAD_UP DPAD-Up-Button (left button-cross): up VGAG3_GC_BUTTON_DPAD_DOWN DPAD-Down-Button (left button-cross): down VGAG3_GC_BUTTON_DPAD_LEFT DPAD-Left-Button (left button-cross): left VGAG3_GC_BUTTON_DPAD_RIGHT DPAD-Right-Button (left button-cross): right VGAG3_GC_AXIS_LEFTX_LEFT Left axis: left VGAG3_GC_AXIS_LEFTX_RIGHT Left axis: right VGAG3_GC_AXIS_LEFTX_UP Left axis: up VGAG3_GC_AXIS_LEFTX_DOWN Left axis: down VGAG3_GC_AXIS_RIGHTX_LEFT Right axis: left VGAG3_GC_AXIS_RIGHTX_RIGHT Right axis: right VGAG3_GC_AXIS_RIGHTX_UP Right axis: up VGAG3_GC_AXIS_RIGHTX_DOWN Right axis: down VGAG3_GC_AXIS_TRIGGERLEFT Left front axis VGAG3_GC_AXIS_TRIGGERRIGHT Right front axis VGAG3_GC_MAXENUM No key but highest enumeration number - Structures
- struct vg3_gamecontroller
Gamecontroller-/joystick structure, for retrieving information about controllers.int jid Gamecontroller- or joystick-ID (value begins with 1) int is_gamecontroller Whether device is gamecontroller or joystick char name[128] Device-name int joy_num_input Joystick: number of buttons and axes (indexes are from 1 to joy_num_input)