|
AMFP Enhanced
C++ reference: the code this unofficial fork added
|
gamepad control of the profile window (the stock window was mouse-only in practice). More...
Go to the source code of this file.
Enumerations | |
| enum | eLuxProfilePad { eLuxProfilePad_None , eLuxProfilePad_Select , eLuxProfilePad_Create , eLuxProfilePad_Delete , eLuxProfilePad_Back } |
Functions | |
| int | LuxProfilePadAction (int alUIButton) |
| int | LuxListStep (int alCurrent, int alCount, int alDir) |
| Next selected row for an up (-1) / down (+1) press, clamped to the list. | |
Variables | |
| static const int | kLuxUIPrimary = 1 << 0 |
| static const int | kLuxUISecondary = 1 << 1 |
| static const int | kLuxUIPrevPage = 1 << 2 |
| static const int | kLuxUINextPage = 1 << 3 |
| static const int | kLuxUIDelete = 1 << 5 |
| static const int | kLuxUIClear = 1 << 6 |
gamepad control of the profile window (the stock window was mouse-only in practice).
Pure mapping, unit tested in tests/cpp/test_profile_pad.cpp. The flag values mirror hpl::eUIButton (checked by static_asserts in LuxMainMenu_Profile.cpp).
Definition in file LuxProfilePad.h.
| enum eLuxProfilePad |
| Enumerator | |
|---|---|
| eLuxProfilePad_None | |
| eLuxProfilePad_Select | |
| eLuxProfilePad_Create | |
| eLuxProfilePad_Delete | |
| eLuxProfilePad_Back | |
Definition at line 16 of file LuxProfilePad.h.
|
inline |
Definition at line 25 of file LuxProfilePad.h.
|
inline |
Next selected row for an up (-1) / down (+1) press, clamped to the list.
Definition at line 38 of file LuxProfilePad.h.
|
static |
Definition at line 9 of file LuxProfilePad.h.
|
static |
Definition at line 10 of file LuxProfilePad.h.
|
static |
Definition at line 11 of file LuxProfilePad.h.
|
static |
Definition at line 12 of file LuxProfilePad.h.
|
static |
Definition at line 13 of file LuxProfilePad.h.
|
static |
Definition at line 14 of file LuxProfilePad.h.