# Juliet\src\Core\HAL\Event\KeyboardMapping

## Source Files
- Header: `Juliet\src\Core\HAL\Event\KeyboardMapping.h`
- Source: `Juliet\src\Core\HAL\Event\KeyboardMapping.cpp`

## AI Description
The `KeyboardMapping.h` header file defines a function `GetKeyCodeFromDefaultMapping` that takes a `ScanCode` and a `KeyModState` as input and returns the corresponding `KeyCode`. The function uses a default US ASCII mapping to convert scan codes into key codes. It handles special keys such as delete, caps lock, F1-F24, and power by returning specific key codes. For other characters that do not convert to ASCII code, it calls `GetNonPrintableKeys` to determine the appropriate key code based on the scan code. The source file `KeyboardMapping.cpp` contains the implementation of these functions, including the default US ASCII mapping and additional logic for handling special keys.

## Symbols

### Namespace `Juliet`

#### Functions & Methods
- `// Transforms ScanCode into KeyCode using the default US ASCII Mapping
    extern KeyCode GetKeyCodeFromDefaultMapping(ScanCode scanCode, KeyMod keyModState)`

