aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/infinity_ergodox/drivers/gdisp/emulator_led/emulator_led.c
diff options
context:
space:
mode:
authorChristopher Browne <cbbrowne@ca.afilias.info>2016-07-07 11:13:22 -0400
committerChristopher Browne <cbbrowne@ca.afilias.info>2016-07-07 11:13:22 -0400
commit97dfbd1afce005392aa8f067e89bdf95334bdea5 (patch)
tree1b198dd239bcb49564c31f124978abde0b467a81 /keyboards/infinity_ergodox/drivers/gdisp/emulator_led/emulator_led.c
parent2e1cfaf73fccdfaba2d7542f00bd7c3d49998d5d (diff)
parentad43d450ca1b988d196da80e2a745f45f24068f6 (diff)
downloadfirmware-97dfbd1afce005392aa8f067e89bdf95334bdea5.tar.gz
firmware-97dfbd1afce005392aa8f067e89bdf95334bdea5.tar.bz2
firmware-97dfbd1afce005392aa8f067e89bdf95334bdea5.zip
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'keyboards/infinity_ergodox/drivers/gdisp/emulator_led/emulator_led.c')
-rw-r--r--keyboards/infinity_ergodox/drivers/gdisp/emulator_led/emulator_led.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/keyboards/infinity_ergodox/drivers/gdisp/emulator_led/emulator_led.c b/keyboards/infinity_ergodox/drivers/gdisp/emulator_led/emulator_led.c
new file mode 100644
index 000000000..b0ebcdc47
--- /dev/null
+++ b/keyboards/infinity_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"