Commit Graph

28 Commits

Author SHA1 Message Date
Ferdinand Schober
8e94a64570 ignore requests with capture / emulation disabled
otherwise the server would hang when trying to enable clients
2024-07-14 12:02:14 +02:00
Ferdinand Schober
aea4d0f3fb fix edge case where cancellation is not possible 2024-07-12 18:07:28 +02:00
Ferdinand Schober
9227bde6bf sync capture + emulation status 2024-07-12 17:44:24 +02:00
Ferdinand Schober
e063f4ffb4 restructure server 2024-07-12 17:09:45 +02:00
Ferdinand Schober
fa57b4ea34 allow cancelling session creation 2024-07-12 12:31:39 +02:00
Ferdinand Schober
b4afbbec45 fix duplicate barriers 2024-07-12 01:36:47 +02:00
Ferdinand Schober
335a1fc3e2 simplify 2024-07-12 01:01:09 +02:00
Ferdinand Schober
3014e404c3 asdf 2024-07-11 22:43:43 +02:00
Ferdinand Schober
d54e472498 fix emulation notify 2024-07-11 22:20:40 +02:00
Ferdinand Schober
69a5eec944 cleanup 2024-07-11 16:59:09 +02:00
Ferdinand Schober
2d26bd6a0b improve cancellation 2024-07-11 16:34:41 +02:00
Ferdinand Schober
f0c9290579 fix duplicate barriers + use Notify 2024-07-11 15:35:37 +02:00
Ferdinand Schober
d73ced7b16 wire frontend 2024-07-11 15:12:59 +02:00
Ferdinand Schober
252547dfdb solve clippy except tomanyargs 2024-07-11 01:14:35 +02:00
Ferdinand Schober
c58f5dbdd5 fix missing Arc import 2024-07-11 00:44:17 +02:00
Ferdinand Schober
8ba178dce0 simplify cancellation of service 2024-07-11 00:42:32 +02:00
Ferdinand Schober
ae3ea2c497 fix windows/mac + rename async_drop to terminate 2024-07-10 22:33:37 +02:00
Ferdinand Schober
9c0a40563e prefer CancellationToken / Notify to channel 2024-07-10 22:03:56 +02:00
Ferdinand Schober
8ba92ede34 its getting cleaner 2024-07-10 20:31:02 +02:00
Ferdinand Schober
110b37e26e improve capture error handling 2024-07-10 09:00:43 +02:00
Ferdinand Schober
4db2d37f32 split into input-{event,capture,emulation} 2024-07-02 22:07:37 +02:00
Ferdinand Schober
70a23b9fa7 reduce coupling of emulation and capture backends 2024-07-02 16:23:07 +02:00
Ferdinand Schober
3528ef4fae Configurable capture backend (#150)
capture backend can now be configured via the `capture_backend` cli argument / config entry
2024-06-29 00:10:36 +02:00
Ferdinand Schober
799b45104a enter hook command (#130)
new configuration option `enter_hook` can now be used to spawn a command when a client is entered
2024-05-12 13:01:07 +02:00
Ferdinand Schober
5318f5a02d Separate config state (#118)
* change internal api
* frontend now keeps and more correctly reflects backend state
2024-05-03 11:27:06 +02:00
Ferdinand Schober
77aa96e09a defer creation of input capture / emulation (#117) 2024-04-26 23:59:00 +02:00
Ferdinand Schober
3e96b42067 use slab instead of reinventing the wheel (#112) 2024-04-26 00:10:04 +02:00
Ferdinand Schober
742b1585d7 rename producer, consumer to emulation and capture (#98)
input emulation / input capture is clearer than event consumer and producer
2024-03-21 20:26:57 +01:00