diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2016-07-09 00:41:15 +0300 |
---|---|---|
committer | Fred Sundvik <fsundvik@gmail.com> | 2016-07-29 20:48:20 +0300 |
commit | e01b4c3fd9a7b66276ffd22dcac25d569d7bb7ff (patch) | |
tree | bb5dcd6b71353aebfd93da01d740b527c4cdca82 /keyboards/ergodox/drivers/gdisp/emulator_led | |
parent | b0376687f4cc2dc0b5ffd89f3bcb33c873b1f4d3 (diff) | |
download | qmk_firmware-e01b4c3fd9a7b66276ffd22dcac25d569d7bb7ff.tar.gz |
Most ergodox keymaps compiles on Infinity
There are linker errors due to missing led funcitonality though
Diffstat (limited to 'keyboards/ergodox/drivers/gdisp/emulator_led')
-rw-r--r-- | keyboards/ergodox/drivers/gdisp/emulator_led/driver.mk | 2 | ||||
-rw-r--r-- | keyboards/ergodox/drivers/gdisp/emulator_led/emulator_led.c | 10 |
2 files changed, 12 insertions, 0 deletions
diff --git a/keyboards/ergodox/drivers/gdisp/emulator_led/driver.mk b/keyboards/ergodox/drivers/gdisp/emulator_led/driver.mk new file mode 100644 index 000000000..255434432 --- /dev/null +++ b/keyboards/ergodox/drivers/gdisp/emulator_led/driver.mk @@ -0,0 +1,2 @@ +GFXINC += drivers/gdisp/emulator_led +GFXSRC += drivers/gdisp/emulator_led/emulator_led.c diff --git a/keyboards/ergodox/drivers/gdisp/emulator_led/emulator_led.c b/keyboards/ergodox/drivers/gdisp/emulator_led/emulator_led.c new file mode 100644 index 000000000..b0ebcdc47 --- /dev/null +++ b/keyboards/ergodox/drivers/gdisp/emulator_led/emulator_led.c @@ -0,0 +1,10 @@ +#define GDISP_DRIVER_VMT GDISPVMT_EMULATOR_LED_ERGODOX +#define GDISP_HARDWARE_DRAWPIXEL TRUE +#define GDISP_HARDWARE_PIXELREAD TRUE +#define GDISP_HARDWARE_CONTROL TRUE +#define GDISP_LLD_PIXELFORMAT GDISP_PIXELFORMAT_MONO +#define GDISP_SCREEN_WIDTH 7 +#define GDISP_SCREEN_HEIGHT 7 +#define ROTATE_180_IS_FLIP + +#include "emulator/emulator_driver_impl.h" |