Skip to content

ngs-ch/qle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QMK logo editor

Font and graphics editor for the QMK keyboard firmware. Live demo:

QMK uses "classic" fixed-space Adafruit_GFX 1.0 bitmap font. There are two basic API calls in the latest QMK OLED Driver:

  • oled_write_P(const char *string, bool invert) Writes zero-terminated string using default font (0x0A is line break)
  • oled_write_raw_P(const char *data, uint16_t size) Writes string of characters in 0..255 range using data as 8x8 font

There are a few ways of adding a custom font to your keyboard (all they use local config files of the keymap):

  • SRC in rules.mk: SRC += ./lib/glcdfont.c (crkbd)
  • LOCAL_GLCDFONT in rules.mk: LOCAL_GLCDFONT = yes (gergo)
  • OLED_FONT_H in config.h: #define OLED_FONT_H "keyboards/lily58/lib/glcdfont.c" (lily58)

The latest official way is redefining OLED_FONT_H in the config.h of your keymap (there also other settings):

References

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 43.4%
  • C 33.1%
  • HTML 21.5%
  • CSS 2.0%