Remove debug and update documentation.

This commit is contained in:
Anna Rose Wiggins 2025-07-28 12:25:17 -04:00
parent c40bf05461
commit 3b609bf37f
2 changed files with 4 additions and 2 deletions

View file

@ -27,7 +27,7 @@ func (rule *MappingRuleAxisCombined) MatchEvent(device Device, event *evdev.Inpu
if !rule.MappingRuleBase.modeCheck(mode) || if !rule.MappingRuleBase.modeCheck(mode) ||
!(rule.InputLower.MatchEvent(device, event) || !(rule.InputLower.MatchEvent(device, event) ||
rule.InputUpper.MatchEvent(device, event)) { rule.InputUpper.MatchEvent(device, event)) {
logger.Log("DEBUG: Did not match event")
return nil, nil return nil, nil
} }

View file

@ -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 <directory>` to specify different configuration profiles; just put all the YAML files for a given profile in a unique directory. After building (see below) and writing your configuration (see above), just run `joyful`. You can use `joyful --config <directory>` to specify different configuration profiles; just put all the YAML files for a given profile in a unique directory.
Pressing `<enter>` 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 ## 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 ### Build & Install