diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2016-07-07 22:28:28 +0300 |
---|---|---|
committer | Fred Sundvik <fsundvik@gmail.com> | 2016-07-29 20:48:04 +0300 |
commit | 9af995c59b2655fa347e43b1eab2122e72ef7fe3 (patch) | |
tree | f76ccbd3ab8c911ae851bb83d13173c5755c7162 /keyboards/ergodox/infinity/drivers/gdisp/emulator_led | |
parent | 30003d48f9a04676b81bf2980a235106ec7886b0 (diff) |
Initial structure for Ergodox as subprojects
Only the EZ default keymaps compiles at the moment though.
Diffstat (limited to 'keyboards/ergodox/infinity/drivers/gdisp/emulator_led')
-rw-r--r-- | keyboards/ergodox/infinity/drivers/gdisp/emulator_led/driver.mk | 2 | ||||
-rw-r--r-- | keyboards/ergodox/infinity/drivers/gdisp/emulator_led/emulator_led.c | 10 |
2 files changed, 12 insertions, 0 deletions
diff --git a/keyboards/ergodox/infinity/drivers/gdisp/emulator_led/driver.mk b/keyboards/ergodox/infinity/drivers/gdisp/emulator_led/driver.mk new file mode 100644 index 0000000000..2554344321 --- /dev/null +++ b/keyboards/ergodox/infinity/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/infinity/drivers/gdisp/emulator_led/emulator_led.c b/keyboards/ergodox/infinity/drivers/gdisp/emulator_led/emulator_led.c new file mode 100644 index 0000000000..b0ebcdc475 --- /dev/null +++ b/keyboards/ergodox/infinity/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" |