diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2016-07-10 14:29:00 +0300 |
---|---|---|
committer | Fred Sundvik <fsundvik@gmail.com> | 2016-07-29 21:09:36 +0300 |
commit | 592ef7c6f0441216d2dbfb08af4e20ed35581102 (patch) | |
tree | 685a5de18a7022c51f87a23d742637ea6d2b4957 /keyboards/ergodox/infinity/drivers/gdisp/emulator_led/emulator_led.c | |
parent | 37052a53f15ea5540b20e2d81a6992f34ebb84fe (diff) | |
download | firmware-592ef7c6f0441216d2dbfb08af4e20ed35581102.tar.gz firmware-592ef7c6f0441216d2dbfb08af4e20ed35581102.tar.bz2 firmware-592ef7c6f0441216d2dbfb08af4e20ed35581102.zip |
Move Infinity Ergodox drivers to subproject, and fix makefile
Diffstat (limited to 'keyboards/ergodox/infinity/drivers/gdisp/emulator_led/emulator_led.c')
-rw-r--r-- | keyboards/ergodox/infinity/drivers/gdisp/emulator_led/emulator_led.c | 10 |
1 files changed, 10 insertions, 0 deletions
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 000000000..b0ebcdc47 --- /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" |