embox
1package embox.driver.input
2
3module core {
4option number event_queue_len = 16
5
6source "input_dev.c"
7
8@IncludeExport(path="drivers/input")
9source "input_dev.h"
10@IncludeExport(path="drivers/input")
11source "keymap.h"
12
13@IncludeExport(path="drivers/input")
14source "input_codes.h"
15
16depends input_dev_handler
17depends embox.kernel.irq_api
18@NoRuntime depends embox.lib.libds
19}
20
21@DefaultImpl(input_dev_nofs)
22abstract module input_dev_handler {
23
24}
25
26module input_dev_nofs extends input_dev_handler {
27option string log_level="LOG_ERR"
28option number hnd_priority = 200
29
30source "input_dev_nofs.c"
31
32depends embox.kernel.lthread.lthread
33}
34
35module input_dev_devfs extends input_dev_handler {
36option string log_level="LOG_ERR"
37option number input_dev_cnt = 4
38
39source "input_dev_devfs.c"
40
41depends embox.device.char_dev
42}
43