Commit graph

165 commits

Author SHA1 Message Date
Jan Trefil
c0b0eb52ca Bump version 2023-08-30 09:57:13 +02:00
Jan Trefil
9817583b20 Fix building on older kernels without ABS_PROFILE 2023-08-30 09:55:04 +02:00
Jan Trefil
adcab7b2c6 Intercept BUS_VIRTUAL devices 2023-08-29 20:21:12 +02:00
Jan Trefil
a0e98e43fc Refactor device discovery 2023-08-29 10:16:47 +02:00
Jan Trefil
adc2e2eb10 Fix operator precedence 2023-08-28 22:41:31 +02:00
Jan Trefil
5a3685f535 Merge branch 'fix-nonsense-abs-min-max' 2023-08-25 11:55:20 +02:00
Jan Trefil
9cc844309d Fix nonsense abs min max values 2023-08-24 09:31:36 +02:00
htrefil
aa5def347a
Merge pull request #44 from ckiee/remove-dead-peers
rkvm-{server,client}: Remove dead peers quickly
2023-08-24 08:47:29 +02:00
Jan Trefil
de45d872c3 Move socket configuration to a dedicated function in rkvm-net 2023-08-24 08:46:51 +02:00
htrefil
77de3f878a Update release.yml 2023-08-22 19:47:29 +02:00
Jan Trefil
836f99c46f Make switch keys kebab-case and include buttons 2023-08-22 19:42:49 +02:00
Jan Trefil
ad4d36298c Fix switch keys not being released 2023-08-22 19:04:59 +02:00
ckie
c4ff4232ae
rkvm-{server,client}: Remove dead peers quickly
I use rkvm on a machine which hangs multiple times a day, leaving no
TCP FIN or RSTs behind.

Previously, the UX got very confusing once I rebooted the machine, because
it captured inputs without forwarding them anywhere live.

It's unfortunate that the TCP settings aren't shared between the client
& server because keepalive settings should be consistent to avoid one
peer disconnecting and the other waiting longer before timing out.
2023-08-22 18:54:47 +03:00
htrefil
0b57699313
Merge pull request #39 from ckiee/workaround-bindgen-cxx-comments
Workaround bindgen comment rusting bug
2023-08-19 15:25:58 +02:00
Jan Trefil
e401fee01c Fix IPv6 socket address parsing 2023-08-19 15:19:29 +02:00
ckie
9e1205b776
Workaround bindgen comment rusting bug
Currently the tests wont run on x86_64-linux on my machine
due to a CXX comment being parsed by rustc due to improper conversion.

See more:
https://users.rust-lang.org/t/disable-doc-tests-for-bindgen-module/54639/2
2023-07-09 00:58:06 +03:00
Jan Trefil
29e357da5e Clarify readme 2023-06-21 21:30:11 +02:00
Jan Trefil
ec11f26c90 Fix Writer memory leak 2023-06-21 21:17:40 +02:00
Jan Trefil
742fb3db7f Asyncify WriterBuilder::build() 2023-06-21 21:14:11 +02:00
Jan Trefil
1fbcb0c606 Turn MtBlobId into an axis 2023-06-20 22:22:30 +02:00
Jan Trefil
9b9a63ace8 Implement multitouch events 2023-06-20 19:47:37 +02:00
Jan Trefil
2b20ba1f1b Implement abs events 2023-06-11 14:02:10 +02:00
Jan Trefil
2f8d583a12 Add -D/--days flag 2023-05-22 22:31:45 +02:00
Jan Trefil
bfa1c0ac18 Fix versions 2023-05-13 20:21:24 +02:00
Jan Trefil
d93a19d668 Add test instructions to README 2023-05-13 18:56:44 +02:00
Jan Trefil
0da5dc759f Trace message sizes 2023-05-13 18:19:11 +02:00
Jan Trefil
046c5e71ba Sent -> Wrote 2023-05-13 18:10:18 +02:00
Jan Trefil
458b7bf0e8 Disable the Nagle algorithm 2023-05-13 18:00:14 +02:00
Jan Trefil
cda0dd0ef7 Update dependencies 2023-05-13 17:59:56 +02:00
Jan Trefil
27187ccd73 Disable TCP linger 2023-05-13 17:42:55 +02:00
Jan Trefil
7cc34c7e26 Log virtual device creation 2023-05-13 14:40:05 +02:00
Jan Trefil
1fb0b573a5 Always set BUS_VIRTUAL; set vendor ID, product ID and version to 0; preserve original device info 2023-05-13 13:50:59 +02:00
Jan Trefil
e426d94fae Log server events 2023-05-13 12:19:29 +02:00
Jan Trefil
a76e3ac218 Remove unused file 2023-05-13 12:03:44 +02:00
Jan Trefil
0604bd98ab Rename EventPack to EventBatch 2023-05-13 12:02:27 +02:00
Jan Trefil
c01356e56c Add "Manual installation" section 2023-04-22 14:17:37 +02:00
Jan Trefil
60f9e20b0e Improve message for failed auth error 2023-04-22 14:05:01 +02:00
Jan Trefil
c210f2c85a Implement client IO timeout, improve logs 2023-04-22 14:03:57 +02:00
Jan Trefil
ca3733e357 Fix certificate extension in example config 2023-04-22 12:59:11 +02:00
Jan Trefil
3a00068d13 README polish 2023-04-21 21:21:40 +02:00
Jan Trefil
080cc628d7 Remove example certificate and key 2023-04-19 23:32:28 +02:00
Jan Trefil
8299a89b19 Fix client switching 2023-04-19 23:29:24 +02:00
Jan Trefil
398a1d73b7 Clarify limitations 2023-04-19 23:10:23 +02:00
Jan Trefil
1a9d5b1f9b Simplify certificate generator 2023-04-19 23:09:02 +02:00
Jan Trefil
f248fa75fa Add configuration instructions 2023-04-19 22:10:41 +02:00
Jan Trefil
6ae06eeb4e Clarify example configs 2023-04-19 21:54:50 +02:00
Jan Trefil
9ff67c0be9 Fix comment 2023-04-19 21:45:41 +02:00
Jan Trefil
04dabc9b9c Add support for multiple switch keys 2023-04-19 21:44:22 +02:00
Jan Trefil
a9d5155271 Asyncify uinput writing, don't write empty EV_SYNs 2023-04-19 21:41:50 +02:00
Jan Trefil
98431d464d Fix example password 2023-04-18 22:57:01 +02:00