Commit Graph

2 Commits

Author SHA1 Message Date
Kenny Goodin
37ed48db86 internal/gamepaddb: pr feedback
this commit will be squashed upon review

- rename gen_dbs.go->gen.go
- add go:generate directive to gamepaddb.go
- output each game controller db into platform-specific text files and
  embed in each db_<platform>.go
- move template into literal in gen.go
2024-03-26 13:59:39 -04:00
Kenny Goodin
ca8ee8e23b internal/gamepaddb: generate respective controller dbs for each platform
Replace singular embedded controller database file with separate generated
files for each supported platform. The controller database file is some
~500KB, so this change should reduce the overall binary size per
platform.
2024-03-26 12:07:23 -04:00