You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Hawck version 0.7
Changes from 0.6
Added Arch AUR package
Added killswitch (Escape+Space)
More notifications
Scripts are loaded
Scripts are unloaded
Scripts cannot be loaded due to wrong permissions
Scripts cannot be loaded due to syntax errors
Hawck listens on all available keyboards automatically
Unless hawck-inputd is explicitly started with --kbd-device arguments
it will default to listening to any keyboard available, which means hotplugging
now works even if you didn't explicitly start inputd on that keyboard.
Removed many C-isms in the code
Build and install scripts compatible with packaging tools
In v0.6 Hawck was installed using a Rube Goldberg mess of shell scripts tied
together by the install.sh script (which was trying to be a one-click install
program.)
Deprecated the GUI
Deprecated lsinput in favour of lskbd.rb
The older lsinput program used ioctl calls, while the newer lsbdk.rs
script reads from sysfs, which is both world-readable, and much faster than
doing repeated ioctl() calls on many different devices.
Now primarily targetting Arch/Manjaro
Type-checking for Lua userdata
which means that doing weird things like kbd.emit(file) (passing file as self
argument to a kbd method) no longer results in UB.
Bug-fixes in FSWatcher (inotify C++ wrapper)
Simplified pedantic file checks
Extract sysfs information about keyboard devices
Added timeouts for scripts
This is helpful if you accidentally write an infinite loop in one of your
scripts.
Fixed pid-file management
Fixed Lua stack overflow bug
This fix has been backported to v0.6, as v0.6.1 (find it under GitHub releases.)
Added fromkbd() conditional
This means you can write macros that are only active for a specific
keyboard. Take that Tom Scott (only, uh... several years later)
Various new LuaUtils features.
This lays the ground-work for running scripts inside hawck-inputd, which is
planned for v1.0.
macrod will now kill any other macrod processes on startup
Added more code documentation.
Removed Gtk/GObject dependencies
They aren't needed for the kind of fire-and-forget desktop notifications that hawck-macrod emits.