Commit Graph

4 Commits

Author SHA1 Message Date
June Tate-Gans
70e77c2b3b udev: Actually set the right group
Forgot to set the group for the nodes to input so that the user can manage it if
needed.
2021-04-25 14:01:53 -05:00
June Tate-Gans
b04a8d6152 udev: Match attributes correctly and trigger systemd unit
This starts to make g13d more automatic. Instead of requiring manual
intervention or automatic starts on system start, this will allow udevd to
automatically trigger g13d when a g13 is plugged in.

There's still a bug in g13d where if the device falls off the USB chain g13d
won't exit, though, but this is a good start.
2021-04-25 12:18:07 -05:00
June Tate-Gans
fa73ed6212 udev: Fix the mode and group
The g13 should only be accessible by users in the input group to tighten up
security a bit.
2021-04-25 01:21:58 -05:00
June Tate-Gans
b490dd9fff cleanups: Migrate source files to appropriate dirs and fix names
This cleans things up significantly in the source tree and makes this easier to
manage longer term. In the next few commits, we'll migrate the build to CMake in
prep for packaging support.

  - Move bindings into bindings
  - Move system configs and misc files into etc
  - Move LCD apps into contrib/
  - Move all source files into srcs
  - Rename helper extensions to match GNU extension naming, fix the #includes as
    well
  - Adjust Makefile to be less verbose and more programmatic
2021-04-25 00:34:49 -05:00