diff --git a/internal/mappingrules/mapping_rule_axis_combined.go b/internal/mappingrules/mapping_rule_axis_combined.go index c113e2f..36562b8 100644 --- a/internal/mappingrules/mapping_rule_axis_combined.go +++ b/internal/mappingrules/mapping_rule_axis_combined.go @@ -27,7 +27,7 @@ func (rule *MappingRuleAxisCombined) MatchEvent(device Device, event *evdev.Inpu if !rule.MappingRuleBase.modeCheck(mode) || !(rule.InputLower.MatchEvent(device, event) || rule.InputUpper.MatchEvent(device, event)) { - logger.Log("DEBUG: Did not match event") + return nil, nil } diff --git a/readme.md b/readme.md index d6a9021..633fe32 100644 --- a/readme.md +++ b/readme.md @@ -41,9 +41,11 @@ Configuration can be fairly complicated and repetitive. If anyone wants to creat After building (see below) and writing your configuration (see above), just run `joyful`. You can use `joyful --config ` to specify different configuration profiles; just put all the YAML files for a given profile in a unique directory. +Pressing `` in the running terminal window will reload the `rules` section of your config files, so you can make changes to your rules without restarting the application. Applying any changes to `devices` or `modes` requires exiting and re-launching the program. + ## Technical details -Joyful is written in golang, and uses evdev/uinput to manage devices. +Joyful is written in golang, and uses evdev/uinput to manage devices. See `cmd/joyful/main.go` for the program's entry point. ### Build & Install