nw::demo::Pad Classclass Pad
Class representing game pads for demos.
| Button | Bit values representing buttons. |
|---|
Initialize
|
Initializes pad status. | |
|---|---|---|
Finalize
|
Finalizes pad status. | |
| Update | Updates pad status. | |
| Reset | Resets pad status to initial state. | |
| IsButtonPress | Determines if the button is being pressed. | |
| IsButtonDown | Determines if the button has been pressed. | |
| IsButtonUp | Determines if the button has been released. | |
| IsButtonRepeat | Returns true while the button is being held down for a set interval. |
|
| IsButtonRepeatFast | Returns true while the button is being held down for a set interval. The interval is faster than with the IsButtonRepeat function. |
|
| GetAnalogStickX | Gets the x value of the analog stick. | |
| GetAnalogStickY | Gets the y value of the analog stick. | |
| GetAnalogStick | Gets the value of the analog stick. | |
| EnableTestMode | Switches the test mode. | |
| SetTestPadStatus | Sets pad input for test mode. | |
| protected S | Create | Creates a game pad for the demo. |
| protected |
Destroy
|
Destroys the game pad for the demo. |
CONFIDENTIAL