| 344 | } |
| 345 | |
| 346 | bool GetGamepadButton(GamepadPacket* packet, uint32_t button) |
| 347 | { |
| 348 | if (packet != 0x0) |
| 349 | return packet->m_Buttons[button / 32] & (1 << (button % 32)); |
| 350 | else |
| 351 | return false; |
| 352 | } |
| 353 | |
| 354 | void SetGamepadButton(HGamepad gamepad, uint32_t button, bool value) |
| 355 | { |
no outgoing calls