Ignore:
File:
1 edited

Legend:

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

    r7ddc2c7 r6eef3c4  
    5656#include <arch.h>
    5757#include <macros.h>
    58 #include <str.h>
    5958
    6059#define IGNORE_CODE  0x7f
     
    6665
    6766static indev_operations_t kbrd_raw_ops = {
    68         .poll = NULL,
    69         .signal = NULL
     67        .poll = NULL
    7068};
    7169
     
    106104        bool shift;
    107105        bool capslock;
    108         wchar_t ch;
    109106       
    110107        spinlock_lock(&instance->keylock);
     
    130127               
    131128                if (shift)
    132                         ch = sc_secondary_map[sc];
     129                        indev_push_character(instance->sink, sc_secondary_map[sc]);
    133130                else
    134                         ch = sc_primary_map[sc];
    135                
    136                 switch (ch) {
    137                 case U_PAGE_UP:
    138                         indev_signal(instance->sink, INDEV_SIGNAL_SCROLL_UP);
    139                         break;
    140                 case U_PAGE_DOWN:
    141                         indev_signal(instance->sink, INDEV_SIGNAL_SCROLL_DOWN);
    142                         break;
    143                 default:
    144                         indev_push_character(instance->sink, ch);
    145                 }
    146                
     131                        indev_push_character(instance->sink, sc_primary_map[sc]);
    147132                break;
    148133        }
Note: See TracChangeset for help on using the changeset viewer.