Commit graph

153 commits

Author SHA1 Message Date
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
Jan Trefil
5924ae251f Get rid of windows conditionals 2023-04-18 22:37:01 +02:00
Jan Trefil
b303576f3c Update bindgen 2023-04-18 22:36:33 +02:00
Jan Trefil
7fc6841e38 Fix versions 2023-04-18 22:30:57 +02:00
Jan Trefil
f104414560 Remove mentions of windows 2023-04-18 22:28:30 +02:00
Jan Trefil
c1c22a0f15 Remove windows builder 2023-04-18 21:35:29 +02:00
Jan Trefil
79125155cc Add fixed systemd unit files 2023-04-18 21:32:44 +02:00
Jan Trefil
c624854206 Remove windows support 2023-04-18 21:32:22 +02:00
Jan Trefil
5c8984ddc4 Fix example config 2023-04-18 20:59:55 +02:00
Jan Trefil
8909fd4711 Fix old stuff in readme 2023-04-18 20:41:58 +02:00
Jan Trefil
c9cfa4dd69 Fix SYN events, high res mouse scrolling 2023-04-18 20:30:24 +02:00
Jan Trefil
1bcc9103b4 Add --shutdown flag 2023-04-18 20:29:41 +02:00
Jan Trefil
26e9e78271 Implement authentication 2023-04-17 19:52:57 +02:00