Input-device selection, default bindings, and label callbacks for PC controls.
More...
#include <frontend.h>
Input-device selection, default bindings, and label callbacks for PC controls.
◆ OnRestoreDefaults()
| int InputOptionsUI::OnRestoreDefaults |
( |
MenuWidget * | pWidget | ) |
|
|
static |
Reload default bindings when the selected device index is in 0..3.
- Parameters
-
| pWidget | The unused widget pointer, possibly null. |
- Returns
- One, including for an out-of-range device index.
- Ghidra address:
- BRD3D: 0x100406c0
- Ghidra address:
- BRGlide: 0x10039c00
◆ OnCycleInputDevice()
| int InputOptionsUI::OnCycleInputDevice |
( |
MenuWidget * | pWidget | ) |
|
|
static |
Cycle among device indices 0, 2, and 3 using mouse edges, then select and back up bindings.
- Parameters
-
| pWidget | The unused widget pointer, possibly null. |
- Returns
- One.
- Ghidra address:
- BRD3D: 0x10043400
- Ghidra address:
- BRGlide: 0x1003c950
◆ UpdateInputDeviceImage()
| int InputOptionsUI::UpdateInputDeviceImage |
( |
MenuWidget * | pWidget | ) |
|
|
static |
Select the sprite for the current input device.
- Parameters
-
| pWidget | The non-null borrowed input-device image widget. |
- Returns
- One.
- Ghidra address:
- BRD3D: 0x10041870
- Ghidra address:
- BRGlide: 0x1003add0
◆ UpdateInputDeviceLabel()
| int InputOptionsUI::UpdateInputDeviceLabel |
( |
MenuWidget * | pWidget | ) |
|
|
static |
Refresh and measure the input-device label, then process its text-input update.
- Parameters
-
| pWidget | The non-null borrowed label widget with primary text storage. |
- Returns
- One.
- Ghidra address:
- BRD3D: 0x1003ffd0
- Ghidra address:
- BRGlide: 0x10039510
◆ OnBack()
Destroy the active input-options screen, clear its cache, and return to cached Options.
- Parameters
-
| pItem | A non-null active-screen widget, invalidated when its panels are destroyed. |
- Returns
- Zero to end the current widget update.
- Ghidra address:
- BRD3D: 0x100465a0
- Ghidra address:
- BRGlide: 0x1003fa40
The documentation for this class was generated from the following file: