Skip to content

Releases: snyball/hawck

v0.7.1 - bugfix release

31 Dec 04:49
Compare
Choose a tag to compare
  • 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

15 Nov 08:37
9d302e3
Compare
Choose a tag to compare

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.

v0.6

06 Feb 19:00
c78e43b
Compare
Choose a tag to compare

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.):