| 90 | } |
| 91 | |
| 92 | HTouchDevice GetTouchDevice(HContext context, uint8_t index) |
| 93 | { |
| 94 | if (index < MAX_TOUCH_DEVICE_COUNT) |
| 95 | return &context->m_TouchDevices[index]; |
| 96 | else |
| 97 | return INVALID_TOUCH_DEVICE_HANDLE; |
| 98 | } |
| 99 | |
| 100 | bool GetGamepadUserId(HContext context, HGamepad gamepad, uint32_t* out) |
| 101 | { |