|
| u32 | GetCntHold (EPad epad_) const |
| | Get the hold count for a specific button.
|
| |
| u32 | GetCntRelease (EPad epad_) const |
| | Get the release count for a specific button.
|
| |
| | CPadObj (u32 idx_, const CfgNesCtrl *pcfg_=nullptr) |
| | Construct a new CPadObj object.
|
| |
|
virtual | ~CPadObj () |
| | Destroy the CPadObj object.
|
| |
| u32 | GetId () const |
| | Get the ID of the object.
|
| |
| HObj | GetHandle () const |
| | Get the handle of the object.
|
| |
| void | SetHandle (HObj hObj_) |
| | Set the handle of the object.
|
| |
| void | SetPriority (u32 priority_) |
| | Set the priority of the object.
|
| |
| u32 | GetPriority () const |
| | Get the priority of the object.
|
| |
|
void | ReqKill () |
| | Request to kill the object.
|
| |
| bool | IsReqKill () const |
| | Check if the object is requested to be killed.
|
| |
| u32 | GetTypeId () |
| | Get the type ID of the object.
|
| |
| bool | IsTypeOf (u32 type_id_) |
| | Check if the object is of a specific type.
|
| |
Class for managing a gamepad's input and state.
The CPadObj class tracks the state of gamepad buttons, integrates with NES controller emulation, and provides drawing functionalities for visual feedback.