| 908 | } |
| 909 | |
| 910 | KeyButton OSXKeyState::mapVirtualKeyToKeyButton(uint32_t keyCode) |
| 911 | { |
| 912 | // 'A' maps to 0 so shift every id |
| 913 | return static_cast<KeyButton>(keyCode + KeyButtonOffset); |
| 914 | } |
| 915 | |
| 916 | uint32_t OSXKeyState::mapKeyButtonToVirtualKey(KeyButton keyButton) |
| 917 | { |
nothing calls this directly
no outgoing calls
no test coverage detected