Changeset 0175246 in mainline for uspace/srv/kbd/include/layout.h


Ignore:
Timestamp:
2009-04-05T16:20:02Z (16 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/include/layout.h

    r56fa418 r0175246  
    4141#include <sys/types.h>
    4242
    43 extern wchar_t layout_parse_ev(kbd_event_t *);
     43typedef struct {
     44        wchar_t (*parse_ev)(kbd_event_t *);
     45} layout_op_t;
     46
     47extern layout_op_t us_qwerty_op;
     48extern layout_op_t us_dvorak_op;
     49extern layout_op_t cz_op;
    4450
    4551#endif
Note: See TracChangeset for help on using the changeset viewer.