libtransistor
A userland library for the Nintendo Switch
|
Data Fields | |
uint64_t | timestamp |
uint32_t | pad1 |
uint32_t | touch_idx |
uint32_t | touch_x |
uint32_t | touch_y |
uint32_t | touch_diameter_x |
uint32_t | touch_diameter_y |
uint32_t | touch_angle |
uint32_t | pad2 |
uint32_t hid_touch_data_entry_t::touch_x |
0 is far left of screen, 1280 is far right.
uint32_t hid_touch_data_entry_t::touch_y |
0 is top of screen, 720 is bottom.