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

Changeset 3e1bc35 in mainline for uspace/srv/hid/input/layout/cz.c


Ignore:
Timestamp:
2019-05-12T15:03:14Z (18 months ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
8f16ede6
Parents:
cb9313e
git-author:
Matthieu Riolo <matthieu.riolo@…> (2019-05-12 13:37:28)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-05-12 15:03:14)
Message:

Adding makefiles which build the layouts as dynamic library. All *.c files addedd to the directory uspace/srv/hid/input/layout will be treated as such

File:
1 edited

Legend:

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

    rcb9313e r3e1bc35  
    5757} layout_cz_t;
    5858
    59 #ifdef CONFIG_KB_LAYOUT_us_qwerty
     59#ifdef CONFIG_KB_LAYOUT_cz
    6060
    6161layout_ops_t layout_default = {
     
    6464        .parse_ev = cz_parse_ev
    6565};
     66
     67#else
     68
     69layout_ops_t get_layout(void);
     70layout_ops_t get_layout(void) {
     71        layout_ops_t layout_default = {
     72                .create = cz_create,
     73                .destroy = cz_destroy,
     74                .parse_ev = cz_parse_ev
     75        };
     76        return layout_default;
     77}
    6678
    6779#endif
Note: See TracChangeset for help on using the changeset viewer.