Releases: snyball/hawck
Releases · snyball/hawck
v0.7.1 - bugfix release
- A kernel update (presumably, not exactly sure) rendered Hawck unusable, as it would no longer be able to output keys. This has been fixed.
hawck-inputd
will now recover when the/dev/input/{by-path,by-id}
directories don't exist
v0.7
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 startinputd
on that keyboard.
- Unless
- 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 theinstall.sh
script (which was trying to be a one-click install
program.)
- In
- Deprecated the GUI
- Deprecated
lsinput
in favour oflskbd.rb
- The older
lsinput
program usedioctl
calls, while the newerlsbdk.rs
script reads fromsysfs
, which is both world-readable, and much faster than
doing repeatedioctl()
calls on many different devices.
- The older
- 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.
- which means that doing weird things like
- 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.
- This is helpful if you accidentally write an infinite loop in one of your
- Fixed pid-file management
- Fixed Lua stack overflow bug
- This fix has been backported to
v0.6
, asv0.6.1
(find it under GitHub releases.)
- This fix has been backported to
- 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)
- This means you can write macros that are only active for a specific
- Various new LuaUtils features.
- This lays the ground-work for running scripts inside
hawck-inputd
, which is
planned forv1.0
.
- This lays the ground-work for running scripts inside
macrod
will now kill any othermacrod
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.
- They aren't needed for the kind of fire-and-forget desktop notifications that
v0.6
Nothing new, just added the v0.6 tag.
Note: The UI seems to be broken in this version, on newer Linux distributions, see the following issue comments for using Hawck v0.6 without the UI (preferred method.):