Fork us on GitHub Follow us on Facebook Follow us on Twitter

Ignore:
Timestamp:
2019-05-12T15:02:29Z (17 months ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
3e1bc35
Parents:
1e8b633
git-author:
Matthieu Riolo <matthieu.riolo@…> (2019-05-12 05:41:53)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-05-12 15:02:29)
Message:

Adding a configuration flag which allows to define which is
the default keyboard layout

This commit adds a new configuration flag which defines the
default keyboard layout. This layout will be hardcoded into
the system. Changing to this keyboard layout can be done by
pressing CTRL+F1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/input/layout/us_dvorak.c

    r1e8b633 rcb9313e  
    4545static wchar_t us_dvorak_parse_ev(layout_t *, kbd_event_t *ev);
    4646
    47 layout_ops_t us_dvorak_ops = {
     47#ifdef CONFIG_KB_LAYOUT_us_dvorak
     48
     49layout_ops_t layout_default = {
    4850        .create = us_dvorak_create,
    4951        .destroy = us_dvorak_destroy,
    5052        .parse_ev = us_dvorak_parse_ev
    5153};
     54
     55#endif
    5256
    5357static wchar_t map_lcase[] = {
Note: See TracChangeset for help on using the changeset viewer.