tutrc_harurobo_lib
|
#include <ps3.hpp>
公開型 | |
enum class | Axis { LEFT_X , LEFT_Y , RIGHT_X , RIGHT_Y } |
enum class | Key { UP , DOWN , RIGHT , LEFT , TRIANGLE , CROSS , CIRCLE , SQUARE = 8 , L1 , L2 , R1 , R2 , START , SELECT } |
公開メンバ関数 | |
bool | init (UART *uart) |
void | update () |
float | get_axis (Axis axis) |
bool | get_key (Key key) |
bool | get_key_down (Key key) |
bool | get_key_up (Key key) |
|
strong |
|
strong |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |