Macro Pad driver software, run shortcuts at the press of a button. Sort of an open source stream deck.
Description
Simplify task automation with an arduino and some 3D printing. This lets you create shortcuts and run them at the press of a button, customizable through a YAML config file.
No device? No problem! You can still click on the buttons to run the macros.
Here's what the GUI looks like, you can click the buttons to run the macro, or use the arduino to press them.
Most of my keybinds are for an FPS shooter, for example typing "gg" in the chat.
When you press a button on the Arduino based MacroPad, it should run the macro.
You can also click the button in the UI to run the macro.
Don't have an arduino but still want to run macros?
You can still run this in GUI only mode, but you'll need to open up a CLI terminal
Open a terminal to where the go-mmp.exe file is
Run PS> go-mmp.exe --mode GUIOnly and hit enter.
CLI Usage:
Not sure why, but the print statements stop working after I export to exe, so no help message.
Usage of go-mmp.exe:
-m, --mode GUI Mode, defaults to 'NORMAL', use 'GUIOnly' to run without a serial device.
-p, --path string Path to your mmpConfig.yml. If used with reset-config, the specifified file will be reset. (default "mmpConfig.yml")
-r, --reset-config Reset your ~/mmpConfig.yml file to default. If using config-path, reset that file.
Actions:
All the available actions are listed below, the format is:
Actions:-FuncName: parameter
Example Actions:
Actions:-Shortcut: SHIFT+ENTER
-SendText: ggez
-PressRelease: enter
Press and hold a key, to release a key use "Release".
Release
e.g. enter, a, alt, LMB
Release a key from being held.
SendText
e.g. ggez, Thanks, ssebs, git-gud
Type out text from the keyboard.
Shortcut
e.g. CTRL+SHIFT+ESC, CMD+C, CMD+R
Hotkey sequence, split up by "+" chars. All keys between the "+"'s will be pressed at the same time.
NOTE: The "Windows" button is "CMD", same for the "Command" button on a Mac.
Run a shortcut by typing multiple keys at once.
Delay
e.g. 10ms
You must enter a duration string. A duration string is a possibly signed sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms", "-1.5h" or "2h45m". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
This will add a delay of the time you select.
This is useful if your set of actions are too fast and you need to slow them down.
Repeat
e.g. LMB+50ms, z+500ms
KeyName + delay sequence, split up by "+" chars. Only 1 "+" is allowed, so you MUST only put 1 key/mouse button on the left, and a duration string on the right.
Press and repeat a key or mouse button over and over with the delay between each press.
The delay must be formatted as a duration string like above.