Download Latest Version v0.7.1 - bugfix release source code.tar.gz (9.7 MB)
Email in envelope

Get an email when there's a new version of Hawck

Home / v0.7
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2020-11-15 2.4 kB
v0.7 source code.tar.gz 2020-11-15 9.7 MB
v0.7 source code.zip 2020-11-15 9.8 MB
Totals: 3 Items   19.4 MB 1

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.
Source: README.md, updated 2020-11-15