Commit graph

189 commits

Author SHA1 Message Date
Jan Trefil
5170fcd37d Use resolver = "2" 2024-07-13 18:10:01 +02:00
Jan Trefil
839296bfd4 Use edition = "2021" for all crates 2024-07-13 18:09:18 +02:00
Jan Trefil
e29d989569 Bump version 2023-12-02 14:37:16 +01:00
Jan Trefil
5352e715b6 Improve min, max nonsense log message 2023-12-02 14:29:57 +01:00
Jan Trefil
607e1fb14c Add support for key autorepeat (EV_REP - REP_DELAY and REP_PERIOD) 2023-12-02 14:23:11 +01:00
Jan Trefil
1c148cf3a3 Add example config tests 2023-10-14 10:46:36 +02:00
Jan Trefil
e46d14bb14 Add an option to disable propagation of switch keys 2023-10-14 10:41:25 +02:00
Jan Trefil
e4ff7137d7 Bump version 2023-10-12 19:15:08 +02:00
Jan Trefil
5aff99e218 Improve logging 2023-10-12 19:14:50 +02:00
Jan Trefil
99d5e39ab1 Improve client switch log message 2023-10-12 09:26:01 +02:00
htrefil
2a1b48ac31
Merge pull request #48 from linj-fork/fix-systemd-conf
Fix systemd services
2023-10-11 09:23:28 +02:00
Jan Trefil
9560c761e5 Implement application layer timeouts 2023-10-11 09:09:18 +02:00
Jan Trefil
65083f47c1 Remove TCP keepalive socket timeouts 2023-09-30 10:00:23 +02:00
htrefil
825ed09e43
Merge pull request #51 from linj-fork/feat-ignore-busy-devices
Ignore busy devices
2023-09-30 09:54:13 +02:00
htrefil
6c555aace8
Merge pull request #50 from linj-fork/fix-age
Fix the bug that args.days is not used
2023-09-30 09:53:06 +02:00
Lin Jian
39d3a2ecea
Ignore busy devices 2023-09-30 02:27:30 +08:00
Lin Jian
2c4a8f5c6c
Fix the bug that args.days is not used 2023-09-30 02:26:20 +08:00
Lin Jian
cc58da2987
Fix systemd services
- a server should be after network.target instead of
network-online.target[1]
- a client should also pull in network-online.target[1]
- the manual mentions StartLimitIntervalSec=0 but not
StartLimitBurst=0[2]

[1]: man systemd.special
[2]: man systemd.unit
2023-09-24 15:38:24 +08:00
Jan Trefil
59d5b6b6d7 Switch to tracing 2023-09-09 11:07:43 +02:00
Jan Trefil
032ad6fe22 Add master branch warning 2023-09-02 14:56:58 +02:00
Jan Trefil
fed31254d6 Refactor keys, buttons, raw codes 2023-09-02 14:42:08 +02:00
Jan Trefil
0c16cdd144 Use RAII wrappers for libevdev objects 2023-09-02 09:28:07 +02:00
Jan Trefil
cd77a50cbb Add "Donations" section 2023-08-31 20:18:21 +02:00
htrefil
cd8ff6f1f7
Add FUNDING.yml 2023-08-31 20:12:56 +02:00
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