Modify FREEBSD EVDEV driver for use in RTEMS

This commit is contained in:
Kevin Kirspel 2017-05-17 08:40:31 -04:00 committed by Sebastian Huber
parent b51279b544
commit 18cf4282c4
2 changed files with 5 additions and 0 deletions

View File

@ -64,7 +64,11 @@ enum evdev_sparse_result
MALLOC_DEFINE(M_EVDEV, "evdev", "evdev memory");
#ifndef __rtems__
int evdev_rcpt_mask = EVDEV_RCPT_SYSMOUSE | EVDEV_RCPT_KBDMUX;
#else /* __rtems__ */
int evdev_rcpt_mask = EVDEV_RCPT_HW_MOUSE | EVDEV_RCPT_HW_KBD;
#endif /* __rtems__ */
int evdev_sysmouse_t_axis = 0;
SYSCTL_NODE(_kern, OID_AUTO, evdev, CTLFLAG_RW, 0, "Evdev args");

View File

@ -0,0 +1 @@
#define EVDEV_SUPPORT 1