///////////////////////////////////////////////////////
| 617 | |
| 618 | //////////////////////////////////////////////////////////// |
| 619 | Keyboard::Scancode delocalize(Keyboard::Key key) |
| 620 | { |
| 621 | if (!isValidKey(key)) |
| 622 | return Keyboard::Scan::Unknown; |
| 623 | |
| 624 | ensureMappings(); |
| 625 | |
| 626 | return keyToScancodeMapping[key]; |
| 627 | } |
| 628 | |
| 629 | |
| 630 | //////////////////////////////////////////////////////////// |
nothing calls this directly
no test coverage detected