173 Commits

Author SHA1 Message Date
Devaev Maxim
e54449fd8e renamed serial keymap codes to mcu 2020-11-11 22:24:25 +03:00
Devaev Maxim
08b96b7ada serial phy layer 2020-11-11 22:24:25 +03:00
Devaev Maxim
dc0340583e splitting serial 2020-11-11 22:24:25 +03:00
Devaev Maxim
a8edd11368 lint fix 2020-11-08 02:21:33 +03:00
Devaev Maxim
52a6eb3d98 bt hid 2020-11-08 02:11:16 +03:00
Devaev Maxim
5f407fd4a0 refactoring 2020-11-07 12:12:40 +03:00
Devaev Maxim
afcd6408bb refactoring 2020-11-06 08:41:08 +03:00
Devaev Maxim
3386c66278 refactoring 2020-11-04 10:52:00 +03:00
Devaev Maxim
c31115051c configurable wheel for otg 2020-11-03 06:17:52 +03:00
Maxim Devaev
544f4b3fec
Relative (#18)
* refactoring

* basic relative mouse mode
2020-11-03 04:50:08 +03:00
Devaev Maxim
3c690816e1 refactoring 2020-10-26 19:48:43 +03:00
Devaev Maxim
de2998a42f otg hid: clear queue on error 2020-10-15 09:52:55 +03:00
Devaev Maxim
9ba3fdb911 refactoring 2020-10-14 22:46:12 +03:00
Devaev Maxim
55968f9328 serial hid: don't sleep on exit 2020-10-14 17:02:19 +03:00
Devaev Maxim
d769742768 serial hid: clear events on exceptions 2020-10-14 17:01:10 +03:00
Devaev Maxim
c4dc68bee5 serial hid: perm errors is not fatal 2020-10-14 16:59:18 +03:00
Devaev Maxim
8b5a62ae97 refactoring 2020-10-14 07:27:25 +03:00
Devaev Maxim
48666a6741 serial hid: clear queue on error 2020-10-13 19:47:30 +03:00
Devaev Maxim
bee33f2df6 tools.clear_queue() 2020-10-13 17:27:36 +03:00
Devaev Maxim
c6524fc7ac typing fixes 2020-10-13 13:50:01 +03:00
Devaev Maxim
ce4704f7c0 fixed logging 2020-10-03 10:07:21 +03:00
Devaev Maxim
2b2014f7b1 adjust reopen delay 2020-10-03 10:06:04 +03:00
Devaev Maxim
877a0b8441 processing udc state 2020-10-03 09:58:15 +03:00
Devaev Maxim
d64f667156 assert 2020-10-03 08:35:47 +03:00
Devaev Maxim
400021fc81 lint fix 2020-10-03 07:30:14 +03:00
Devaev Maxim
9db6a4a6b4 handle ESHUTDOWN during hid write()
61b7f805dc
2020-10-03 05:31:52 +03:00
Devaev Maxim
cccf44655a common env variables 2020-10-03 05:02:14 +03:00
Devaev Maxim
16946d1e0f refactoring 2020-09-30 14:12:09 +03:00
Oleg Girko
a8589e48ab Make kvmd compatible with libgpiod 1.2.
The singular default_val argument of gpiod.Line.request() method
was introduced in libgpiod 1.3.

For older versions of libgpiod, defailt_vals argument with list value
should be used.

This argument is available in newer versions of libgpiod as well
for compatibility.

This change is needed for Debian / Raspbian 10 that have libgpiod 1.2.

Signed-off-by: Oleg Girko <ol@infoserver.lv>
2020-09-20 14:59:33 +01:00
Devaev Maxim
5c05276d46 fixed consumer names for libgpiod 2020-09-18 01:46:28 +03:00
Devaev Maxim
ee10435b81 common gpio path variable 2020-09-14 01:34:23 +03:00
Devaev Maxim
1e6ab4672f refactoring and reuse gpio pulse code 2020-09-13 18:23:28 +03:00
Devaev Maxim
41223fa8b2 pass close() 2020-09-13 17:19:57 +03:00
Devaev Maxim
fa5e6735ed using libgpiod for the serial hid 2020-09-12 21:17:44 +03:00
Devaev Maxim
605b67ca76 refactoring 2020-09-08 05:24:47 +03:00
Devaev Maxim
a6dac4bd84 ugpio plugins 2020-09-07 05:54:25 +03:00
Devaev Maxim
6c35dd413d fixed race conditions on hid events cleanup 2020-08-18 10:57:02 +03:00
Devaev Maxim
28cc3fe99a mouse buttons 4 and 5 2020-08-18 10:45:15 +03:00
Devaev Maxim
04c3763e69 send_key_events() 2020-06-06 13:19:30 +03:00
Devaev Maxim
b9e53a00f8 suppressed serial hid spam 2020-06-05 05:25:27 +03:00
Devaev Maxim
9e60f24c54 fix 2020-06-04 07:55:24 +03:00
Devaev Maxim
9cee98310d refactoring 2020-06-04 06:27:52 +03:00
Devaev Maxim
be9ce4e4ff serial: decrease common_retries with read_retries 2020-06-04 05:52:50 +03:00
Devaev Maxim
6d7351502e removed print 2020-05-24 03:44:24 +03:00
Devaev Maxim
e9d86c058d major keymaps improvement 2020-05-23 15:57:02 +03:00
Devaev Maxim
a795fe5ed6 additional keymapping info; refactoring 2020-05-23 11:57:19 +03:00
Devaev Maxim
43afd9acb3 server-side paste-as-keys 2020-05-22 21:07:54 +03:00
Devaev Maxim
52e117df3c put_nowait 2020-03-04 00:26:45 +03:00
Devaev Maxim
552bb93212 atomic fixes, removed tasked and muted 2020-03-03 23:48:53 +03:00
Devaev Maxim
1470ebe6fa hid leds 2020-02-28 04:44:05 +03:00