Changeset 0175246 in mainline for uspace/srv/kbd/layout/us_dvorak.c


Ignore:
Timestamp:
2009-04-05T16:20:02Z (15 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
482c86f
Parents:
56fa418
Message:

Primitive means of switching keyboard layout at run time. Use Ctrl+Fn, 1 = QWERTY, 2 = Dvorak, 3 = Czech. Remove compile-time option.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/kbd/layout/us_dvorak.c

    r56fa418 r0175246  
    3737#include <layout.h>
    3838
     39static wchar_t layout_parse_ev(kbd_event_t *ev);
     40
     41layout_op_t us_dvorak_op = {
     42        layout_parse_ev
     43};
     44
    3945static wchar_t map_lcase[] = {
    4046        [KC_R] = 'p',
     
    198204}
    199205
    200 wchar_t layout_parse_ev(kbd_event_t *ev)
     206static wchar_t layout_parse_ev(kbd_event_t *ev)
    201207{
    202208        wchar_t c;
Note: See TracChangeset for help on using the changeset viewer.