1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
| srcs_dmx_input = [
| 'dmxdummy.c',
| 'dmxbackend.c',
| 'dmxconsole.c',
| 'dmxcommon.c',
| 'dmxinputinit.c',
| 'dmxarg.c',
| 'dmxevents.c',
| 'dmxxinput.c',
| 'dmxmotion.c',
| 'dmxmap.c',
| 'ChkNotMaskEv.c',
| ]
|
| if cc.has_header('linux/input.h')
| srcs_dmx_input += [
| 'usb-keyboard.c',
| 'usb-mouse.c',
| 'usb-other.c',
| 'usb-common.c',
| ]
| endif
|
| dmx_input = static_library('dmx_input',
| srcs_dmx_input,
| include_directories: [
| inc,
| include_directories('../')
| ],
| dependencies: common_dep,
| c_args: '-DHAVE_DMX_CONFIG_H',
| )
|
|