Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 704 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 704 Bytes

incro

INput maCROs: program your keyboard/mouse

See macro-template for macro example. Build it and place the resulting *.so file in macros/ directory to test it.

Running

cargo run -r -p incro-bin

Your user must have access to the files in /dev/input/, so either root or in a group of the file. Run

ls -la /dev/input

to see what group has access to them.

Workflow

I recommend copying the template into macros/ directory and making your macros there, symlink their built dynamic libraries to the same macros/ directory and now you can just rebuild the workspace with this:

cargo build -r --workspace

and that will update all your macros.