Skip to content

Refactoring that splits Keyboard.c into a bunch of modules

minute requested to merge kbd-refactor into kbd-bitmaps

New file structure:

  • constants.h: Define which keyboard variant you want to build for
  • keyboard.c: Main entrypoint that includes the chosen matrix file (keyboard layout)
  • matrix.c: Keyboard layout definition (default)
  • matrix_*.c: Alternative layouts
  • backlight.c: Keyboard backlight control
  • menu.c: OLED Menu handling
  • oled.c: OLED graphics control
  • remote.c: Communication with MNT Reform motherboard LPC
  • hid_report.c: USB HID raw report handler (commands sent by OS)
  • powersave.c: Low power/sleep mode
  • descriptors.c: USB HID descriptors
  • i2c.c: Soft I2C master implementation (for OLED)
  • serial.c: Soft UART implementation
  • font.c: Bitmap data for OLED font and icons
Edited by minute

Merge request reports