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_lcd | |
parent | b0376687f4cc2dc0b5ffd89f3bcb33c873b1f4d3 (diff) | |
download | firmware-e01b4c3fd9a7b66276ffd22dcac25d569d7bb7ff.tar.gz firmware-e01b4c3fd9a7b66276ffd22dcac25d569d7bb7ff.tar.bz2 firmware-e01b4c3fd9a7b66276ffd22dcac25d569d7bb7ff.zip |
Most ergodox keymaps compiles on Infinity
There are linker errors due to missing led funcitonality though
Diffstat (limited to 'keyboards/ergodox/drivers/gdisp/emulator_lcd')
-rw-r--r-- | keyboards/ergodox/drivers/gdisp/emulator_lcd/driver.mk | 2 | ||||
-rw-r--r-- | keyboards/ergodox/drivers/gdisp/emulator_lcd/emulator_lcd.c | 10 |
2 files changed, 12 insertions, 0 deletions
diff --git a/keyboards/ergodox/drivers/gdisp/emulator_lcd/driver.mk b/keyboards/ergodox/drivers/gdisp/emulator_lcd/driver.mk new file mode 100644 index 000000000..16c3f80f5 --- /dev/null +++ b/keyboards/ergodox/drivers/gdisp/emulator_lcd/driver.mk @@ -0,0 +1,2 @@ +GFXINC += drivers/gdisp/emulator_lcd +GFXSRC += drivers/gdisp/emulator_lcd/emulator_lcd.c diff --git a/keyboards/ergodox/drivers/gdisp/emulator_lcd/emulator_lcd.c b/keyboards/ergodox/drivers/gdisp/emulator_lcd/emulator_lcd.c new file mode 100644 index 000000000..babfe2b36 --- /dev/null +++ b/keyboards/ergodox/drivers/gdisp/emulator_lcd/emulator_lcd.c @@ -0,0 +1,10 @@ +#define GDISP_DRIVER_VMT GDISPVMT_EMULATOR_LCD_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 128 +#define GDISP_SCREEN_HEIGHT 32 +#define ROTATE_180_IS_FLIP + +#include "emulator/emulator_driver_impl.h" |