diff options
Diffstat (limited to 'src/lib/eeze_udev_find.c')
-rw-r--r-- | src/lib/eeze_udev_find.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/eeze_udev_find.c b/src/lib/eeze_udev_find.c index bdd1037..3bd06ab 100644 --- a/src/lib/eeze_udev_find.c +++ b/src/lib/eeze_udev_find.c @@ -188,6 +188,13 @@ eeze_udev_find_by_type(Eeze_Udev_Type etype, #endif break; + case EEZE_UDEV_TYPE_JOYSTICK: + udev_enumerate_add_match_subsystem(en, "input"); +#ifndef OLD_UDEV_RRRRRRRRRRRRRR + udev_enumerate_add_match_property(en, "ID_INPUT_JOYSTICK", "1"); +#endif + break; + case EEZE_UDEV_TYPE_DRIVE_MOUNTABLE: udev_enumerate_add_match_subsystem(en, "block"); udev_enumerate_add_match_property(en, "ID_FS_USAGE", "filesystem"); |