Commit Graph

22 Commits

Author SHA1 Message Date
Vftdan 7cdbcaf25e Check for config->options == NULL 2024-08-19 11:21:51 +02:00
Vftdan 12af4b35c7 Add "differentiate" node type
Can be used to transform absolute movement to relative movement
2024-08-19 11:01:19 +02:00
Vftdan eaa64f5b4c Support for input properties in uinput 2024-08-19 10:56:25 +02:00
Vftdan 58dc2cc84a Reverse "router" node predicate handling order to compensate for the replication at the past end
Make the behaviour inline with other tee-like nodes: order replicas
ascending along output connectors
2024-08-18 18:03:46 +02:00
Vftdan 7a0e351b3a Add "assign" node type 2024-08-18 17:59:31 +02:00
Vftdan 60a2cb7408 Optionally grabbing evdev device 2024-08-18 17:31:45 +02:00
Vftdan adff4388a6 Add "uinput" node type 2024-08-18 17:19:37 +02:00
Vftdan e2ea8fed1e Add "documentation" field to node specification
Use it as node type help message
2024-08-18 15:26:54 +02:00
Vftdan 8b55223b9d Small fixes
- Fix parseable string of MODOP_TOGGLE
 - Actually set the configured namespace in nodes/evdev
 - Ensure non-negative payload in nodes/getchar
2024-08-18 15:23:49 +02:00
Vftdan f76eaa53f2 Add "modify_predicate" node type
Change "enabled" and "inverted" predicate flags when received events
satisfy other predicates
2024-08-18 13:32:20 +02:00
Vftdan 4922b7f304 Add "modifiers" node type 2024-08-17 15:46:48 +02:00
Vftdan a46131716e Add "router" node type 2024-08-17 11:35:36 +02:00
Vftdan 2676b5acdf Wrap constant and predicate registries into a single environment type 2024-08-17 11:02:26 +02:00
Vftdan 50a6f1a716 Config section for integer constants 2024-08-16 10:12:20 +02:00
Vftdan 9f876162e5 Add "tee" node type 2024-08-15 22:12:23 +02:00
Vftdan 245563ec8b Make the program unaware in compile time of the node types
Using "constructor" attribute
2024-08-15 20:57:17 +02:00
Vftdan 63dabd6fcd Typesafe wrapper around calloc 2024-08-15 16:53:02 +02:00
Vftdan a0825d1d58 Implemented configuration using libconfig 2024-08-14 22:23:21 +02:00
Vftdan 8f49752bab Split event code value into major and minor components 2024-08-14 14:53:17 +02:00
Vftdan 65769a7442 Added libevdev node 2024-08-14 14:47:12 +02:00
Vftdan d3a3217e88 Add newtypes for absolute and relative time 2024-08-14 13:47:55 +02:00
Vftdan d0bcd6b20c Initial commit 2024-08-13 23:33:52 +02:00