Commit Graph

57 Commits

Author SHA1 Message Date
illiliti
089e09e00a fix memory leak 2020-09-13 23:26:40 +03:00
illiliti
0c4d64fdac fix xorg crash introduced in 74b7427c41 2020-09-01 14:03:07 +03:00
illiliti
14e187f1e2 check file size 2020-08-23 15:31:10 +03:00
illiliti
894aa48906 fix memory leak 2020-08-23 15:23:36 +03:00
illiliti
b54f639cfd final fixes 2020-08-23 00:51:10 +03:00
illiliti
bcd28de858 fix potential UB while reading sysattr 2020-08-16 14:00:03 +03:00
illiliti
408249b34b simplify key=val parsing 2020-08-16 12:53:13 +03:00
illiliti
752f500a90 grab properties from uevent 2020-08-15 12:20:24 +03:00
illiliti
508424a3a2 fix sysname 2020-08-15 07:39:02 +03:00
illiliti
380e7f8890 implement hotplugging support 2020-08-14 19:33:18 +03:00
illiliti
56bcf25461 minor fixes, add joystick support 2020-08-12 23:31:37 +03:00
illiliti
dc75e2b44e correctly find ID_INPUT_KEY 2020-08-10 00:48:02 +03:00
illiliti
ca956fa663 add support for tablets, pointing sticks and accelerometers 2020-08-09 07:05:09 +03:00
illiliti
011d3db9e1 check if switch has EV_KEY capability 2020-08-07 05:42:20 +03:00
illiliti
25977fddb5 cleanup 2020-08-04 21:32:06 +03:00
illiliti
c0d6c58393 switch to for loop 2020-08-04 16:11:17 +03:00
illiliti
7754aa691c prevent array index out of bounds 2020-08-03 18:37:40 +03:00
illiliti
8fa88d6697 remove useless NULL checks 2020-08-03 00:05:12 +03:00
illiliti
3700b9c642 check NULL 2020-08-02 15:50:17 +03:00
illiliti
a41459e81c fix broken input 2020-08-01 18:31:29 +03:00
illiliti
8547b55072 use buffered io 2020-08-01 04:20:27 +03:00
illiliti
fca883ed54 get rid of ioctl
before - 2.964 total
after  - 0.932 total

still slow ???
2020-08-01 03:23:56 +03:00
illiliti
8a57e66afe pass O_NONBLOCK to open 2020-07-31 22:12:29 +03:00
illiliti
8c30f20b7e change logic 2020-07-31 21:30:38 +03:00
illiliti
314f1b005a change style 2020-07-31 01:19:27 +03:00
illiliti
e751c69241 do not try to search parent device very deeply 2020-07-31 01:13:41 +03:00
illiliti
bfd09f153e simplify logic 2020-07-31 00:28:09 +03:00
illiliti
37fe740623 check NULL before open devnode 2020-07-31 00:12:50 +03:00
illiliti
a0528c5585 check NULL 2020-07-31 00:08:37 +03:00
illiliti
9b7641d9ec do not handle unique values when no need 2020-07-29 12:27:40 +03:00
illiliti
edaf268cac const char where possible 2020-07-29 12:09:11 +03:00
illiliti
56537c691a no need 2020-07-26 18:50:42 +03:00
illiliti
f63ec4a2e7 minor changes 2020-07-26 15:49:15 +03:00
illiliti
a5d5e4dd2b fix gcc 10 2020-07-26 12:34:43 +03:00
illiliti
b9ab0e2fe9 use limits constants instead of hardcoded ones 2020-07-25 17:48:37 +03:00
illiliti
984295b4a0 minor fixes 2020-07-25 17:42:47 +03:00
illiliti
d05676f232 drop O_NOFOLLOW 2020-07-25 16:44:17 +03:00
illiliti
d4a60c10c0 use readlink 2020-07-25 16:41:10 +03:00
illiliti
c7cc417701 simplify 2020-07-25 16:38:59 +03:00
illiliti
8a946ad9e6 drop UDEV_EXPORT 2020-07-18 05:15:00 +03:00
illiliti
758ad07c26 change style 2020-07-17 21:36:59 +03:00
illiliti
8b7689302d fix 2020-07-17 04:48:15 +03:00
illiliti
09dbf27a07 implement udev_device_new_from_subsystem_sysname 2020-07-16 22:53:23 +03:00
illiliti
bab130c7fd silence gcc 2020-07-14 00:14:10 +03:00
illiliti
00b13d3268 use static 2020-07-13 22:46:01 +03:00
illiliti
24cc238b45 add touchscreen support 2020-07-13 19:35:01 +03:00
illiliti
54fd01f80e fix fd leak 2020-07-13 17:18:47 +03:00
illiliti
93e84c2c4b implement ioctl() 2020-07-13 02:26:09 +03:00
illiliti
1072c74cb6 extract name from parent device 2020-07-10 16:23:17 +03:00
illiliti
a686cc2b22 check NULL 2020-07-08 19:39:18 +03:00