Formatting and changelog updates. (#14)

Reviewed-on: https://codeberg.org/annabunches/joyful/pulls/14
This commit is contained in:
Anna Rose Wiggins 2026-09-12 16:29:51 +02:00 committed by annabunches
parent 7e4d4f3c20
commit b80c5e3032
4 changed files with 24 additions and 19 deletions

View file

@ -10,9 +10,11 @@ type Config struct {
// TODO: configure custom unmarshaling so we can overload Buttons, Axes, and RelativeAxes...
type DeviceConfigVirtual struct {
Name string
VendorId string `yaml:"vendor_id,omitempty"`
DeviceId string `yaml:"device_id,omitempty"`
Name string
// VendorId is the uint16 vendor id, for default see internal/virtualdevice/variables.go
VendorId string `yaml:"vendor_id,omitempty"`
// DeviceId is the uint16 device id, for default see internal/virtualdevice/variables.go
DeviceId string `yaml:"device_id,omitempty"`
Preset string
NumButtons int `yaml:"num_buttons,omitempty"`
NumAxes int `yaml:"num_axes,omitempty"`