Skip to content

Latest commit

 

History

History
 
 

oled

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

OLED modules

These modules are coded for Corne (CRKBD)'s 128x32 and can be integrated as standalone files without extra OLED code in keymap.c. They are setup to animate Bongocat or Luna on the primary display with status icons rendered on the secondary.

QMK Integration

  1. Save all files into a folder named oled within the user keymap (or userspace) directory.
  2. Add the following lines into rules.mk:
    OLED_ENABLE = yes
    SRC += oled/oled-bongocat.c oled/oled-icons.c
    (Substitute oled-bongocat.c with oled-luna.c for Luna the dog)
  3. Add the following directives into config.h to transmit state information to the secondary half for the status icons:
    #define SPLIT_MODS_ENABLE
    #define SPLIT_LED_STATE_ENABLE
    #define SPLIT_LAYER_STATE_ENABLE
  4. Add the following font file reference containing status icons into config.h:
    #define OLED_FONT_H "oled/oledfont.c"