#include "DynArray.h"
#include <stdbool.h>
#include "HandleDefs.h"
Go to the source code of this file.
|
| enum | InputMappingType { Axis
, Button
} |
| |
| enum | ButtonSubType {
MouseButton
, KeyboardButton
, GamepadButton
, MouseScrollButton
,
UnknownButton
} |
| |
| enum | AxisSubType { MouseAxis
, GamePadAxis
, MouseScrollAxis
, UnknownAxis
} |
| |
| enum | ControllerAxisType { gpAxis_LStick
, gpAxis_RStick
, gpAxis_LT
, gpAxis_RT
} |
| |
| enum | WhichAxis { Axis_X
, Axis_Y
} |
| |
| enum | WhichDirection { Axis_Pos
, Axis_Neg
} |
| |
|
| void | In_RecieveKeyboardKey (InputContext *context, int key, int scancode, int action, int mods) |
| |
| void | In_RecieveMouseMove (InputContext *context, double xposIn, double yposIn) |
| |
| void | In_RecieveMouseButton (InputContext *context, int button, int action, int mods) |
| |
| void | In_FramebufferResize (InputContext *context, int width, int height) |
| |
| void | In_RecieveScroll (InputContext *context, double xoffset, double yoffset) |
| |
| void | In_SetControllerPresent (int controllerNo) |
| |
| void | In_EndFrame (InputContext *context) |
| |
| InputContext | In_InitInputContext () |
| |
| struct AxisBinding | In_FindAxisMapping (InputContext *context, const char *name) |
| |
| struct ButtonBinding | In_FindButtonMapping (InputContext *context, const char *name) |
| |
| float | In_GetAxisValue (InputContext *context, struct AxisBinding binding) |
| |
| bool | In_GetButtonValue (InputContext *context, struct ButtonBinding binding) |
| |
| bool | In_GetButtonPressThisFrame (InputContext *context, struct ButtonBinding binding) |
| |
| bool | In_GetButtonReleaseThisFrame (InputContext *context, struct ButtonBinding binding) |
| |
| void | In_GetMask (struct ActiveInputBindingsMask *pOutMask, InputContext *pCtx) |
| |
| void | In_SetMask (struct ActiveInputBindingsMask *mask, InputContext *pCtx) |
| |
| void | In_ActivateButtonBinding (struct ButtonBinding binding, struct ActiveInputBindingsMask *pMask) |
| |
| void | In_ActivateAxisBinding (struct AxisBinding binding, struct ActiveInputBindingsMask *pMask) |
| |
| void | In_DeactivateButtonBinding (struct ButtonBinding binding, struct ActiveInputBindingsMask *pMask) |
| |
| void | In_DeactivateAxisBinding (struct AxisBinding binding, struct ActiveInputBindingsMask *pMask) |
| |
◆ KEYSTROKE_BACKSPACE
| #define KEYSTROKE_BACKSPACE 259 |
◆ KEYSTROKE_DOWN
| #define KEYSTROKE_DOWN 264 |
◆ KEYSTROKE_ENTER
| #define KEYSTROKE_ENTER 257 |
◆ KEYSTROKE_LEFT
| #define KEYSTROKE_LEFT 263 |
◆ KEYSTROKE_RIGHT
| #define KEYSTROKE_RIGHT 262 |
◆ KEYSTROKE_UP
◆ MAX_KEYS_DOWN_PER_FRAME
| #define MAX_KEYS_DOWN_PER_FRAME 256 |
◆ MAX_MAPPINGS
◆ InputContext
◆ InputMapping
◆ AxisSubType
| Enumerator |
|---|
| MouseAxis | |
| GamePadAxis | |
| MouseScrollAxis | |
| UnknownAxis | |
◆ ButtonSubType
| Enumerator |
|---|
| MouseButton | |
| KeyboardButton | |
| GamepadButton | |
| MouseScrollButton | |
| UnknownButton | |
◆ ControllerAxisType
| Enumerator |
|---|
| gpAxis_LStick | |
| gpAxis_RStick | |
| gpAxis_LT | |
| gpAxis_RT | |
◆ InputMappingType
◆ WhichAxis
◆ WhichDirection
| Enumerator |
|---|
| Axis_Pos | |
| Axis_Neg | |
◆ In_ActivateAxisBinding()
◆ In_ActivateButtonBinding()
◆ In_DeactivateAxisBinding()
◆ In_DeactivateButtonBinding()
◆ In_EndFrame()
◆ In_FindAxisMapping()
◆ In_FindButtonMapping()
◆ In_FramebufferResize()
| void In_FramebufferResize |
( |
InputContext * |
context, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
◆ In_GetAxisValue()
◆ In_GetButtonPressThisFrame()
◆ In_GetButtonReleaseThisFrame()
◆ In_GetButtonValue()
◆ In_GetMask()
◆ In_InitInputContext()
◆ In_RecieveKeyboardKey()
| void In_RecieveKeyboardKey |
( |
InputContext * |
context, |
|
|
int |
key, |
|
|
int |
scancode, |
|
|
int |
action, |
|
|
int |
mods |
|
) |
| |
◆ In_RecieveMouseButton()
| void In_RecieveMouseButton |
( |
InputContext * |
context, |
|
|
int |
button, |
|
|
int |
action, |
|
|
int |
mods |
|
) |
| |
◆ In_RecieveMouseMove()
| void In_RecieveMouseMove |
( |
InputContext * |
context, |
|
|
double |
xposIn, |
|
|
double |
yposIn |
|
) |
| |
◆ In_RecieveScroll()
| void In_RecieveScroll |
( |
InputContext * |
context, |
|
|
double |
xoffset, |
|
|
double |
yoffset |
|
) |
| |
◆ In_SetControllerPresent()
| void In_SetControllerPresent |
( |
int |
controllerNo | ) |
|
◆ In_SetMask()