| 307 | } |
| 308 | |
| 309 | bool GetMouseButton(MousePacket* packet, MouseButton button) |
| 310 | { |
| 311 | if (packet != 0x0) |
| 312 | return packet->m_Buttons[button / 32] & (1 << (button % 32)); |
| 313 | else |
| 314 | return false; |
| 315 | } |
| 316 | |
| 317 | void SetMouseButton(HMouse mouse, MouseButton button, bool value) |
| 318 | { |
no outgoing calls