A struct to hold a Windows keycode to Mac virtual keycode mapping.
| 47 | |
| 48 | // A struct to hold a Windows keycode to Mac virtual keycode mapping. |
| 49 | struct KeyCodeMap { |
| 50 | int win_keycode; |
| 51 | int mac_keycode; |
| 52 | }; |
| 53 | |
| 54 | // Customized less operator for using std::lower_bound() on a KeyCodeMap array. |
| 55 | bool operator<(const KeyCodeMap &a, const KeyCodeMap &b) { |
nothing calls this directly
no outgoing calls
no test coverage detected