Commit Graph

2 Commits (e1f59a6efc793522155db35155f6fbdc0504d504)

Author SHA1 Message Date
John Barbero c2326c05c0
[Keyboard] Fixes to make snes_macropad play nicer with qmk configurator (#22432)
* [Keyboard] Change default implementation for get_layer_name_user

Will now show the layer number instead of "Unknown", since this is
what will be shown if QMK Configurator is used to compile the
firmware.

* [Keyboard] Update the layout info

This makes it look sort of like a macropad + gamepad rather than an 4x6
ortholinear keyboard.

* [Keyboard] Fix default implementation of get_layer_name_user

Based on feedback from code review the implementation was swapped in
favor of using get_u8_str. This implied a change to the argument type
from int to uint8_t, which cascaded into the existing keymaps. (This
made sense in general, since the return type of get_highest_layer is
also a uint8_t.)
2023-11-11 22:30:31 -07:00
John Barbero 39d0a14258
Add SNES Macropad keyboard (#22377)
Co-authored-by: jack <0x6a73@protonmail.com>
2023-11-09 09:52:47 -08:00