|
AMFP Enhanced
C++ reference: the code this unofficial fork added
|
which input the player used last (gamepad or keyboard/mouse), so prompts and dialogs show matching buttons. More...
Go to the source code of this file.
Functions | |
| bool | LuxNextInputMode (bool abGamepadMode, bool abPadActivity, bool abKbmActivity) |
| bool | LuxInputModeOnPadChange (bool abGamepadMode, bool abHadPad, bool abHasPad) |
| A controller appearing (at start or plugged in) switches to gamepad mode; losing it switches back. | |
| bool | LuxStickActive (float afValue) |
| Stick deflection beyond the dead zone counts as gamepad use. | |
which input the player used last (gamepad or keyboard/mouse), so prompts and dialogs show matching buttons.
Unit tested in tests/cpp/test_input_mode.cpp.
Definition in file LuxInputMode.h.
|
inline |
Definition at line 8 of file LuxInputMode.h.
|
inline |
A controller appearing (at start or plugged in) switches to gamepad mode; losing it switches back.
Definition at line 16 of file LuxInputMode.h.
|
inline |
Stick deflection beyond the dead zone counts as gamepad use.
Definition at line 24 of file LuxInputMode.h.