Moxinilian / macroboard

Turn any keyboard into a macro key board
MIT License
5 stars 1 forks source link

How to use macroboard? #1

Closed aplatypus closed 11 months ago

aplatypus commented 11 months ago

@Moxinilian ... I found the description for macroboard in passing and saw that it works with Wayland. I need and xdotool replacement that can work under Wayland to issue some keystrokes (command lines and inputs).

I hope you can point me in the right direction please? (I am using Kubuntu 23.04) Thanks in advance.

Moxinilian commented 11 months ago

Hey!

Macroboard is more of a library than a standalone tool. It's focused on getting input from the external keyboard more than actually doing actions. You're expected to implement the actions yourself.

For example, in the basic.rs example, triggering a key only prints stuff to the console. It's then on you to implement logic that does whatever you want it to do.

If that sounds good to you, check out the documentation on docs.rs, it should explain everything. The crate is quite small so it should not be too overwhelming.

aplatypus commented 11 months ago

Ah, thanks for that info. Probably not what I'm looking for just now. Will review the docs :-)