Changeset 11797d5 in mainline for uspace/drv/usbkbd/main.c


Ignore:
Timestamp:
2011-01-21T16:37:26Z (13 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3ee48f2, 9097c16a
Parents:
7d540c8
Message:

Fixes + layouts

  • Fixed scancode → keycode map.
  • Removed copied layout file, layouts are now symlinked from generic kbd driver
  • Layout settings in kbd driver
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbkbd/main.c

    r7d540c8 r11797d5  
    134134};
    135135
    136 // TODO: put to device?
    137136static int active_layout = 0;
    138137
     
    189188        printf("keycode: %u\n", key);
    190189*/
    191         /*
     190       
    192191        if (type == KEY_PRESS && (mods & KM_LCTRL) &&
    193192                key == KC_F1) {
     
    210209                return;
    211210        }
    212         */
     211       
    213212        ev.type = type;
    214213        ev.key = key;
     
    236235 */
    237236static void usbkbd_process_keycodes(const uint8_t *key_codes, size_t count,
    238                                     uint8_t modifiers, void *arg)
     237    uint8_t modifiers, void *arg)
    239238{
    240239        printf("Got keys: ");
Note: See TracChangeset for help on using the changeset viewer.