Joystick driver using the TLA2024IRUGT ADCS.
More...
#include <joystick.hpp>
Joystick driver using the TLA2024IRUGT ADCS.
◆ Joystick()
bsp::ygg::prph::Joystick::Joystick |
( |
| ) |
|
|
delete |
◆ getDeadzone()
static u8 bsp::ygg::prph::Joystick::getDeadzone |
( |
| ) |
|
|
inlinestatic |
Get the current Joystick deadzone.
- Returns
- Current deadzone value
◆ getLeft()
Get the joystick data for the left joystick.
- Returns
- JoyStickData struct
- Note
- This function is polling
◆ getRight()
Get the joystick data for the right joystick.
- Returns
- JoyStickData struct
- Note
- This function is polling
◆ init()
static bool bsp::ygg::prph::Joystick::init |
( |
| ) |
|
|
inlinestatic |
Initialization function.
- Returns
- Success
◆ setDeadzone()
static void bsp::ygg::prph::Joystick::setDeadzone |
( |
u8 |
deadzone | ) |
|
|
inlinestatic |
Set both joystick's deadzone.
- Parameters
-
The documentation for this class was generated from the following file: