qmk_firmware/keyboards/snes_macropad
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
..
keymaps
config.h
halconf.h
info.json
matrix.c
mcuconf.h
readme.md
rules.mk
snes_macropad.c

snes_macropad

Completed Build Completed Build

Completed Build, closer with RGB off Completed Build, closer with RGB off

PCB and FR4 top/bottom plates PCB and FR4 top/bottom plates

The SNES Macropad is, as it sounds, a macropad that features a SNES connector. In addition it has a qwiic connector and a 3.5mm jack for 3.3V I2C (not audio), allowing additional expansion.

This QMK implementation exposes the SNES controller as a part of the keyboard, meaning you can map the controller to do anything a qmk keyboard can. The layout is thus a 4x6 keyboard logically, split with the 3 first rows being on the macro pad and the 3 following being buttons on the snes controller.

  • Keyboard Maintainer: JBarberU
  • Hardware Supported: SNES Macropad Rev 1, with a Raspberry Pi Pico Lite (AliExpress clone of Raspberry Pico with fewer grounds and all GPIO's exposed on the headers)
  • Hardware Availability: The SNES Macro pad can be found here either as a kit, partially built or fully built.

Make example for this keyboard (after setting up your build environment):

make snes_macropad:default

Flashing example for this keyboard:

make snes_macropad:default:flash

See the build environment setup and the make instructions for more information. Brand new to QMK? Start with our Complete Newbs Guide.

Bootloader

Enter the bootloader in 3 ways:

  • Physical bootsel button: Hold down the bootsel button on the RPi Pico while plugging in the keyboard, or while pressing the reset button
  • Physical reset button: Quickly double press the reset button
  • Keycode in layout: Press the key mapped to QK_BOOT if it is available