///////////////////////////////////////////////////////
| 605 | |
| 606 | //////////////////////////////////////////////////////////// |
| 607 | Keyboard::Key localize(Keyboard::Scancode code) |
| 608 | { |
| 609 | if (!isValidScancode(code)) |
| 610 | return Keyboard::Key::Unknown; |
| 611 | |
| 612 | ensureMappings(); |
| 613 | |
| 614 | return scancodeToKeyMapping[code]; |
| 615 | } |
| 616 | |
| 617 | |
| 618 | //////////////////////////////////////////////////////////// |
nothing calls this directly
no test coverage detected