Commit Graph

38 Commits

Author SHA1 Message Date
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
illiliti
8fbdeb3fe3 fix udev_device_get_sysname 2020-07-08 17:07:06 +03:00
illiliti
35972adc32 implement INPUT properties 2020-07-08 16:51:57 +03:00
illiliti
a5b5667dce rewrite 2020-07-08 14:38:40 +03:00
illiliti
dbb13e9286 implement udev_enumerate_scan_devices, rewrite udev_device logic 2020-07-07 10:07:24 +03:00
illiliti
debdcbcc47 fix parent 2020-07-05 03:11:55 +03:00
illiliti
bceae57798 formatting fixes 2020-07-04 10:18:24 +03:00
illiliti
7a09bb0557 init 2020-07-04 09:25:16 +03:00