![]() |
Norbert's Game Engine v200
|
#include <Gamepad.hpp>
Public Member Functions | |
| bool | IsConnected (ulong port) |
| eDeadzoneStick | DeadzoneCorrection () |
| void | Vibration (ulong port, int leftmotorspeed, int rightmotorspeed) |
| bool | GetButtonPressed (uint button) |
| bool | GetButtonDown (uint button) |
| bool | GetButtonReleased (uint button) |
| sshort | GetButtons () |
| short | GetThumbLX () |
| short | GetThumbLY () |
| short | GetThumbRX () |
| short | GetThumbRY () |
| eGamepadLayout | LoadLayout (eString layout) |
Public Member Functions inherited from eBase | |
| template<typename T > | |
| T * | Cast (eBase *obj) |
| Cast class to base. | |
Gamepad class
Definition at line 45 of file Gamepad.hpp.
| eDeadzoneStick eGamepad::DeadzoneCorrection | ( | ) |
Definition at line 17 of file Gamepad.cpp.
| bool eGamepad::GetButtonDown | ( | uint | button | ) |
Definition at line 90 of file Gamepad.cpp.
| bool eGamepad::GetButtonPressed | ( | uint | button | ) |
Definition at line 59 of file Gamepad.cpp.
| bool eGamepad::GetButtonReleased | ( | uint | button | ) |
Definition at line 95 of file Gamepad.cpp.
| sshort eGamepad::GetButtons | ( | ) |
Definition at line 100 of file Gamepad.cpp.
| short eGamepad::GetThumbLX | ( | ) |
Definition at line 105 of file Gamepad.cpp.
| short eGamepad::GetThumbLY | ( | ) |
Definition at line 110 of file Gamepad.cpp.
| short eGamepad::GetThumbRX | ( | ) |
Definition at line 115 of file Gamepad.cpp.
| short eGamepad::GetThumbRY | ( | ) |
Definition at line 120 of file Gamepad.cpp.
| bool eGamepad::IsConnected | ( | ulong | port | ) |
Definition at line 9 of file Gamepad.cpp.
| eGamepadLayout eGamepad::LoadLayout | ( | eString | layout | ) |
Definition at line 125 of file Gamepad.cpp.
| void eGamepad::Vibration | ( | ulong | port, |
| int | leftmotorspeed, | ||
| int | rightmotorspeed ) |
Definition at line 52 of file Gamepad.cpp.