diff options
author | Olivier <olivier@gid0.org> | 2016-08-20 18:07:02 +0200 |
---|---|---|
committer | Olivier <olivier@gid0.org> | 2016-08-20 18:07:02 +0200 |
commit | 009ab77d3e26bd348e45a9a8102b2737c9367979 (patch) | |
tree | b01491320736c818584098c4b7a6dce8de53f405 /keyboards/ergodox/infinity/drivers/gdisp/emulator_lcd | |
parent | 4cfb262faab653247f4d66d44bf5f3339d82bd36 (diff) | |
parent | a3f726174c0f8f358f7970767a1bf743fd9ad761 (diff) |
Merge https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'keyboards/ergodox/infinity/drivers/gdisp/emulator_lcd')
-rw-r--r-- | keyboards/ergodox/infinity/drivers/gdisp/emulator_lcd/driver.mk | 2 | ||||
-rw-r--r-- | keyboards/ergodox/infinity/drivers/gdisp/emulator_lcd/emulator_lcd.c | 10 |
2 files changed, 12 insertions, 0 deletions
diff --git a/keyboards/ergodox/infinity/drivers/gdisp/emulator_lcd/driver.mk b/keyboards/ergodox/infinity/drivers/gdisp/emulator_lcd/driver.mk new file mode 100644 index 0000000000..16c3f80f53 --- /dev/null +++ b/keyboards/ergodox/infinity/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/infinity/drivers/gdisp/emulator_lcd/emulator_lcd.c b/keyboards/ergodox/infinity/drivers/gdisp/emulator_lcd/emulator_lcd.c new file mode 100644 index 0000000000..babfe2b367 --- /dev/null +++ b/keyboards/ergodox/infinity/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" |