Changeset cb9313e in mainline for uspace/srv/hid/input/layout/ar.c


Ignore:
Timestamp:
2019-05-12T15:02:29Z (6 years 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/ar.c

    r1e8b633 rcb9313e  
    4646static wchar_t ar_parse_ev(layout_t *, kbd_event_t *ev);
    4747
    48 layout_ops_t ar_ops = {
     48#ifdef CONFIG_KB_LAYOUT_ar
     49
     50layout_ops_t layout_default = {
    4951        .create = ar_create,
    5052        .destroy = ar_destroy,
    5153        .parse_ev = ar_parse_ev
    5254};
     55
     56#endif
    5357
    5458static wchar_t map_not_shifted[] = {
Note: See TracChangeset for help on using the changeset viewer.