|
|
void | Reset () |
| | Reset the NES controller state and load images.
|
| |
|
void | Step () |
| | Process touch events and update the controller state.
|
| |
| void | Draw (b8PpuCmd *pcmd, u32 otz) |
| | Draw the NES controller on the screen.
|
| |
| u32 | GetCntHold (ENesCtrl enc) |
| | Get the hold count for a specific button.
|
| |
| u32 | GetCntRelease (ENesCtrl enc) |
| | Get the release count for a specific button.
|
| |
| | CNesCtrl (const CfgNesCtrl &cfg) |
| | Constructor for CNesCtrl.
|
| |
|
| ~CNesCtrl () |
| | Destructor for CNesCtrl.
|
| |
NES controller emulation class.
This class emulates an NES controller using touch screen inputs. It processes touch events, updates the controller state, and renders the controller on the screen.