Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/src/kbrd/kbrd_at.c

    raafed15 r28a5ebd  
    5959#define AT_SCROLL_SCAN_CODE     0x7E
    6060
    61 static bool is_lock_key(wchar_t);
     61static bool is_lock_key(char32_t);
    6262
    6363static indev_operations_t kbrd_raw_ops = {
     
    6969 * @param sc Scancode of the key being released.
    7070 */
    71 static void key_released(kbrd_instance_t *instance, wchar_t sc)
     71static void key_released(kbrd_instance_t *instance, char32_t sc)
    7272{
    7373        spinlock_lock(&instance->keylock);
     
    9696 * @param sc Scancode of the key being pressed.
    9797 */
    98 static void key_pressed(kbrd_instance_t *instance, wchar_t sc)
     98static void key_pressed(kbrd_instance_t *instance, char32_t sc)
    9999{
    100100        bool letter;
     
    140140
    141141        while (true) {
    142                 wchar_t sc = indev_pop_character(&instance->raw);
     142                char32_t sc = indev_pop_character(&instance->raw);
    143143
    144144                if (sc == AT_KEY_RELEASE) {
     
    203203}
    204204
    205 static bool is_lock_key(wchar_t sc)
     205static bool is_lock_key(char32_t sc)
    206206{
    207207        return ((sc == AT_CAPS_SCAN_CODE) || (sc == AT_NUM_SCAN_CODE) ||
Note: See TracChangeset for help on using the changeset viewer.