瀏覽代碼

Merge pull request #503 from fredizzimo/ergodox_subproject

Add both Ergodox EZ and Infinity Ergodox as sub-projects of Ergodox
Jack Humbert 9 年之前
父節點
當前提交
063983639d
共有 100 個文件被更改,包括 1512 次插入1304 次删除
  1. 34 0
      keyboards/ergodox/Makefile
  2. 36 0
      keyboards/ergodox/config.h
  3. 0 0
      keyboards/ergodox/ergodox.c
  4. 10 0
      keyboards/ergodox/ergodox.h
  5. 0 0
      keyboards/ergodox/ez/190hotfix.sh
  6. 1 11
      keyboards/ergodox_ez/Makefile
  7. 7 26
      keyboards/ergodox_ez/config.h
  8. 1 1
      keyboards/ergodox_ez/ergodox_ez.c
  9. 0 0
      keyboards/ergodox/ez/ez.h
  10. 0 0
      keyboards/ergodox/ez/i2cmaster.h
  11. 1 1
      keyboards/ergodox_ez/matrix.c
  12. 0 0
      keyboards/ergodox/ez/twimaster.c
  13. 0 0
      keyboards/ergodox/ez/util/compile_keymap.py
  14. 0 0
      keyboards/ergodox/ez/util/readme.md
  15. 0 0
      keyboards/ergodox/infinity/MEMO.txt
  16. 8 16
      keyboards/infinity_ergodox/Makefile
  17. 0 0
      keyboards/ergodox/infinity/bootloader_defs.h
  18. 0 0
      keyboards/ergodox/infinity/chconf.h
  19. 10 15
      keyboards/infinity_ergodox/config.h
  20. 0 0
      keyboards/ergodox/infinity/drivers/gdisp/IS31FL3731C/board_IS31FL3731C.h
  21. 0 0
      keyboards/ergodox/infinity/drivers/gdisp/IS31FL3731C/driver.mk
  22. 0 0
      keyboards/ergodox/infinity/drivers/gdisp/IS31FL3731C/gdisp_IS31FL3731C.c
  23. 0 0
      keyboards/ergodox/infinity/drivers/gdisp/IS31FL3731C/gdisp_lld_config.h
  24. 0 0
      keyboards/ergodox/infinity/drivers/gdisp/emulator_lcd/driver.mk
  25. 0 0
      keyboards/ergodox/infinity/drivers/gdisp/emulator_lcd/emulator_lcd.c
  26. 0 0
      keyboards/ergodox/infinity/drivers/gdisp/emulator_led/driver.mk
  27. 0 0
      keyboards/ergodox/infinity/drivers/gdisp/emulator_led/emulator_led.c
  28. 0 0
      keyboards/ergodox/infinity/drivers/gdisp/st7565ergodox/board_ST7565.h
  29. 0 0
      keyboards/ergodox/infinity/drivers/gdisp/st7565ergodox/driver.mk
  30. 0 0
      keyboards/ergodox/infinity/drivers/gdisp/st7565ergodox/gdisp_lld_ST7565.c
  31. 0 0
      keyboards/ergodox/infinity/drivers/gdisp/st7565ergodox/gdisp_lld_config.h
  32. 0 0
      keyboards/ergodox/infinity/drivers/gdisp/st7565ergodox/st7565.h
  33. 0 0
      keyboards/ergodox/infinity/gfxconf.h
  34. 0 0
      keyboards/ergodox/infinity/halconf.h
  35. 58 2
      keyboards/infinity_ergodox/infinity_ergodox.c
  36. 110 0
      keyboards/ergodox/infinity/infinity.h
  37. 0 0
      keyboards/ergodox/infinity/led.c
  38. 3 0
      keyboards/infinity_ergodox/matrix.c
  39. 0 0
      keyboards/ergodox/infinity/mcuconf.h
  40. 0 0
      keyboards/ergodox/keymaps/ab/Makefile
  41. 0 0
      keyboards/ergodox/keymaps/ab/keyboard-layout.json
  42. 0 0
      keyboards/ergodox/keymaps/ab/keyboard-layout.png
  43. 1 1
      keyboards/ergodox_ez/keymaps/ab/keymap.c
  44. 0 0
      keyboards/ergodox/keymaps/ab/readme.md
  45. 1 1
      keyboards/ergodox_ez/keymaps/adnw_k_o_y/keymap.c
  46. 0 0
      keyboards/ergodox/keymaps/adnw_k_o_y/readme.md
  47. 1 1
      keyboards/ergodox_ez/keymaps/alexjj/keymap.c
  48. 0 0
      keyboards/ergodox/keymaps/alexjj/readme.md
  49. 0 0
      keyboards/ergodox/keymaps/alexjj/rl-layout.jpg
  50. 0 0
      keyboards/ergodox/keymaps/algernon/COPYING
  51. 0 0
      keyboards/ergodox/keymaps/algernon/Makefile
  52. 0 0
      keyboards/ergodox/keymaps/algernon/config.h
  53. 0 0
      keyboards/ergodox/keymaps/algernon/images/adore-layer.png
  54. 0 0
      keyboards/ergodox/keymaps/algernon/images/base-layer.png
  55. 0 0
      keyboards/ergodox/keymaps/algernon/images/heatmap.png
  56. 0 0
      keyboards/ergodox/keymaps/algernon/images/hun-layer.png
  57. 0 0
      keyboards/ergodox/keymaps/algernon/images/nav-n-media-layer.png
  58. 0 0
      keyboards/ergodox/keymaps/algernon/images/one-handed-layer.png
  59. 0 0
      keyboards/ergodox/keymaps/algernon/images/steno-layer.png
  60. 1217 1216
      keyboards/ergodox_ez/keymaps/algernon/keymap.c
  61. 0 0
      keyboards/ergodox/keymaps/algernon/readme.md
  62. 0 0
      keyboards/ergodox/keymaps/algernon/tools/heatmap-adore-layout.json
  63. 0 0
      keyboards/ergodox/keymaps/algernon/tools/heatmap-base-layout.json
  64. 0 0
      keyboards/ergodox/keymaps/algernon/tools/log-to-heatmap.py
  65. 0 0
      keyboards/ergodox/keymaps/algernon/tools/max-focused
  66. 1 1
      keyboards/ergodox_ez/keymaps/andrew_osx/keymap.c
  67. 0 0
      keyboards/ergodox/keymaps/bepo/bepo.png
  68. 1 1
      keyboards/ergodox_ez/keymaps/bepo/keymap.c
  69. 0 0
      keyboards/ergodox/keymaps/bepo/readme.md
  70. 0 0
      keyboards/ergodox/keymaps/coderkun_neo2/Makefile
  71. 1 1
      keyboards/ergodox_ez/keymaps/coderkun_neo2/keymap.c
  72. 0 0
      keyboards/ergodox/keymaps/coderkun_neo2/readme.md
  73. 1 1
      keyboards/ergodox_ez/keymaps/colemak/keymap.c
  74. 0 0
      keyboards/ergodox/keymaps/colemak/readme.md
  75. 0 0
      keyboards/ergodox/keymaps/colemak_osx_pc_no/keyboard-layout.png
  76. 1 1
      keyboards/ergodox_ez/keymaps/colemak_osx_pc_no/keymap.c
  77. 0 0
      keyboards/ergodox/keymaps/colemak_osx_pc_no/readme.md
  78. 0 0
      keyboards/ergodox/keymaps/csharp_dev/csharp_dev.png
  79. 0 0
      keyboards/ergodox/keymaps/csharp_dev/csharp_dev_legend.png
  80. 1 1
      keyboards/ergodox_ez/keymaps/csharp_dev/keymap.c
  81. 0 0
      keyboards/ergodox/keymaps/csharp_dev/readme.md
  82. 1 1
      keyboards/ergodox_ez/keymaps/dave/keymap.c
  83. 0 0
      keyboards/ergodox/keymaps/dave/readme.md
  84. 0 0
      keyboards/ergodox/keymaps/default/default.png
  85. 0 0
      keyboards/ergodox/keymaps/default/default_highres.png
  86. 1 1
      keyboards/ergodox_ez/keymaps/default/keymap.c
  87. 0 0
      keyboards/ergodox/keymaps/default/readme.md
  88. 0 0
      keyboards/ergodox/keymaps/default_osx/default_osx_highres.png
  89. 1 1
      keyboards/ergodox_ez/keymaps/default_osx/keymap.c
  90. 0 0
      keyboards/ergodox/keymaps/default_osx/readme.md
  91. 1 1
      keyboards/ergodox_ez/keymaps/dragon788/keymap.c
  92. 0 0
      keyboards/ergodox/keymaps/dvorak/dvorak.png
  93. 1 1
      keyboards/ergodox_ez/keymaps/dvorak/keymap.c
  94. 0 0
      keyboards/ergodox/keymaps/dvorak_intl_squisher/keyboard-layout0.png
  95. 0 0
      keyboards/ergodox/keymaps/dvorak_intl_squisher/keyboard-layout1.png
  96. 0 0
      keyboards/ergodox/keymaps/dvorak_intl_squisher/keyboard-layout2.png
  97. 1 1
      keyboards/ergodox_ez/keymaps/dvorak_intl_squisher/keymap.c
  98. 0 0
      keyboards/ergodox/keymaps/dvorak_intl_squisher/readme.md
  99. 1 1
      keyboards/ergodox_ez/keymaps/dvorak_spanish/keymap.c
  100. 0 0
      keyboards/ergodox_ez/keymaps/dvorak_spanish/readme.md

+ 34 - 0
keyboards/ergodox/Makefile

@@ -0,0 +1,34 @@
+#----------------------------------------------------------------------------
+# On command line:
+#
+# make = Make software.
+#
+# make clean = Clean out built project files.
+#
+# That's pretty much all you need. To compile, always go make clean, 
+# followed by make.
+#
+# For advanced users only:
+# make teensy = Download the hex file to the device, using teensy_loader_cli.
+#               (must have teensy_loader_cli installed).
+#
+#----------------------------------------------------------------------------
+SUBPROJECT_DEFAULT = ez
+
+# Build Options
+#   comment out to disable the options.
+#
+BOOTMAGIC_ENABLE ?= no  # Virtual DIP switch configuration(+1000)
+MOUSEKEY_ENABLE  ?= yes # Mouse keys(+4700)
+EXTRAKEY_ENABLE  ?= yes # Audio control and System control(+450)
+CONSOLE_ENABLE   ?= no  # Console for debug(+400)
+COMMAND_ENABLE   ?= yes # Commands for debug and configuration
+CUSTOM_MATRIX    ?= yes # Custom matrix file for the ErgoDox EZ
+SLEEP_LED_ENABLE ?= yes # Breathing sleep LED during USB suspend
+NKRO_ENABLE      ?= yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
+MIDI_ENABLE      ?= no  # MIDI controls
+UNICODE_ENABLE   ?= yes # Unicode
+
+ifndef QUANTUM_DIR
+	include ../../Makefile
+endif

+ 36 - 0
keyboards/ergodox/config.h

@@ -0,0 +1,36 @@
+#ifndef KEYBOARDS_ERGODOX_CONFIG_H_
+#define KEYBOARDS_ERGODOX_CONFIG_H_
+
+#define MOUSEKEY_DELAY          100
+#define MOUSEKEY_INTERVAL       20
+#define MOUSEKEY_MAX_SPEED      3
+#define MOUSEKEY_TIME_TO_MAX    10
+
+#define TAPPING_TOGGLE  1
+
+/* define if matrix has ghost */
+//#define MATRIX_HAS_GHOST
+
+#define TAPPING_TERM    200
+#define IGNORE_MOD_TAP_INTERRUPT // this makes it possible to do rolling combos (zx) with keys that convert to other keys on hold (z becomes ctrl when you hold it, and when this option isn't enabled, z rapidly followed by x actually sends Ctrl-x. That's bad.)
+
+/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
+#define LOCKING_SUPPORT_ENABLE
+/* Locking resynchronize hack */
+#define LOCKING_RESYNC_ENABLE
+
+/* key combination for command */
+#define IS_COMMAND() ( \
+    keyboard_report->mods == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \
+    keyboard_report->mods == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \
+)
+
+#ifdef SUBPROJECT_ez
+    #include "ez/config.h"
+#endif
+#ifdef SUBPROJECT_infinity
+    #include "infinity/config.h"
+#endif
+
+
+#endif /* KEYBOARDS_ERGODOX_CONFIG_H_ */

+ 0 - 0
keyboards/ergodox/ergodox.c


+ 10 - 0
keyboards/ergodox/ergodox.h

@@ -0,0 +1,10 @@
+#ifndef KEYBOARDS_ERGODOX_ERGODOX_H_
+#define KEYBOARDS_ERGODOX_ERGODOX_H_
+#ifdef SUBPROJECT_ez
+    #include "ez.h"
+#endif
+#ifdef SUBPROJECT_infinity
+    #include "infinity.h"
+#endif
+
+#endif /* KEYBOARDS_ERGODOX_ERGODOX_H_ */

keyboards/ergodox_ez/190hotfix.sh → keyboards/ergodox/ez/190hotfix.sh


+ 1 - 11
keyboards/ergodox_ez/Makefile

@@ -70,17 +70,7 @@ OPT_DEFS += -DBOOTLOADER_SIZE=512
 # Build Options
 # Build Options
 #   comment out to disable the options.
 #   comment out to disable the options.
 #
 #
-BOOTMAGIC_ENABLE ?= no  # Virtual DIP switch configuration(+1000)
-MOUSEKEY_ENABLE  ?= yes # Mouse keys(+4700)
-EXTRAKEY_ENABLE  ?= yes # Audio control and System control(+450)
-CONSOLE_ENABLE   ?= no  # Console for debug(+400)
-COMMAND_ENABLE   ?= yes # Commands for debug and configuration
-CUSTOM_MATRIX    ?= yes # Custom matrix file for the ErgoDox EZ
-SLEEP_LED_ENABLE ?= yes # Breathing sleep LED during USB suspend
-NKRO_ENABLE      ?= yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
-MIDI_ENABLE      ?= no  # MIDI controls
-UNICODE_ENABLE   ?= yes # Unicode
 
 
 ifndef QUANTUM_DIR
 ifndef QUANTUM_DIR
-	include ../../Makefile
+	include ../../../Makefile
 endif
 endif

+ 7 - 26
keyboards/ergodox_ez/config.h

@@ -16,10 +16,10 @@ You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.
 along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 */
 
 
-#ifndef CONFIG_H
-#define CONFIG_H
+#ifndef ERGODOX_EZ_CONFIG_H
+#define ERGODOX_EZ_CONFIG_H
 
 
-#include "config_common.h"
+#include "../config.h"
 
 
 /* USB Device descriptor parameter */
 /* USB Device descriptor parameter */
 #define VENDOR_ID       0xFEED
 #define VENDOR_ID       0xFEED
@@ -33,34 +33,15 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #define MATRIX_ROWS 14
 #define MATRIX_ROWS 14
 #define MATRIX_COLS 6
 #define MATRIX_COLS 6
 
 
-#define MOUSEKEY_DELAY          100
-#define MOUSEKEY_INTERVAL       20
-#define MOUSEKEY_MAX_SPEED      3
-#define MOUSEKEY_TIME_TO_MAX    10
-
-#define TAPPING_TOGGLE  1
-
-/* define if matrix has ghost */
-//#define MATRIX_HAS_GHOST
-
 /* number of backlight levels */
 /* number of backlight levels */
 #define BACKLIGHT_LEVELS 3
 #define BACKLIGHT_LEVELS 3
 
 
+#define LED_BRIGHTNESS_LO       15
+#define LED_BRIGHTNESS_HI       255
+
+
 /* Set 0 if debouncing isn't needed */
 /* Set 0 if debouncing isn't needed */
 #define DEBOUNCE    5
 #define DEBOUNCE    5
-#define TAPPING_TERM    200
-#define IGNORE_MOD_TAP_INTERRUPT // this makes it possible to do rolling combos (zx) with keys that convert to other keys on hold (z becomes ctrl when you hold it, and when this option isn't enabled, z rapidly followed by x actually sends Ctrl-x. That's bad.)
-
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
-
-/* key combination for command */
-#define IS_COMMAND() ( \
-    keyboard_report->mods == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \
-    keyboard_report->mods == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \
-)
 
 
 /*
 /*
  * Feature disable options
  * Feature disable options

+ 1 - 1
keyboards/ergodox_ez/ergodox_ez.c

@@ -1,4 +1,4 @@
-#include "ergodox_ez.h"
+#include "ez.h"
 #include "i2cmaster.h"
 #include "i2cmaster.h"
 
 
 bool i2c_initialized = 0;
 bool i2c_initialized = 0;

keyboards/ergodox_ez/ergodox_ez.h → keyboards/ergodox/ez/ez.h


keyboards/ergodox_ez/i2cmaster.h → keyboards/ergodox/ez/i2cmaster.h


+ 1 - 1
keyboards/ergodox_ez/matrix.c

@@ -33,7 +33,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #include "debug.h"
 #include "debug.h"
 #include "util.h"
 #include "util.h"
 #include "matrix.h"
 #include "matrix.h"
-#include "ergodox_ez.h"
+#include "ez.h"
 #include "i2cmaster.h"
 #include "i2cmaster.h"
 #ifdef DEBUG_MATRIX_SCAN_RATE
 #ifdef DEBUG_MATRIX_SCAN_RATE
 #include  "timer.h"
 #include  "timer.h"

keyboards/ergodox_ez/twimaster.c → keyboards/ergodox/ez/twimaster.c


keyboards/ergodox_ez/keymaps/german-manuneo/compile_keymap.py → keyboards/ergodox/ez/util/compile_keymap.py


keyboards/ergodox_ez/util/readme.md → keyboards/ergodox/ez/util/readme.md


keyboards/infinity_ergodox/MEMO.txt → keyboards/ergodox/infinity/MEMO.txt


+ 8 - 16
keyboards/infinity_ergodox/Makefile

@@ -52,34 +52,26 @@ ARMV = 7
 # Vector table for application
 # Vector table for application
 # 0x00000000-0x00001000 area is occupied by bootlaoder.*/
 # 0x00000000-0x00001000 area is occupied by bootlaoder.*/
 # The CORTEX_VTOR... is needed only for MCHCK/Infinity KB
 # The CORTEX_VTOR... is needed only for MCHCK/Infinity KB
-OPT_DEFS = -DCORTEX_VTOR_INIT=0x00002000
+OPT_DEFS += -DCORTEX_VTOR_INIT=0x00002000
 
 
 # Build Options
 # Build Options
 #   comment out to disable the options.
 #   comment out to disable the options.
 #
 #
-BOOTMAGIC_ENABLE ?= yes	# Virtual DIP switch configuration
-## (Note that for BOOTMAGIC on Teensy LC you have to use a custom .ld script.)
-MOUSEKEY_ENABLE ?= yes	# Mouse keys
-EXTRAKEY_ENABLE ?= yes	# Audio control and System control
-CONSOLE_ENABLE ?= yes	# Console for debug
-COMMAND_ENABLE ?= yes    # Commands for debug and configuration
-SLEEP_LED_ENABLE ?= yes  # Breathing sleep LED during USB suspend
-NKRO_ENABLE ?= yes	    # USB Nkey Rollover
 CUSTOM_MATRIX ?= yes # Custom matrix file
 CUSTOM_MATRIX ?= yes # Custom matrix file
 SERIAL_LINK_ENABLE = yes
 SERIAL_LINK_ENABLE = yes
-VISUALIZER_ENABLE ?= yes
+VISUALIZER_ENABLE ?= no #temporarily disabled to make everything compile
 LCD_ENABLE ?= yes
 LCD_ENABLE ?= yes
 LED_ENABLE ?= yes
 LED_ENABLE ?= yes
 LCD_BACKLIGHT_ENABLE ?= yes
 LCD_BACKLIGHT_ENABLE ?= yes
 
 
+ifndef QUANTUM_DIR
+	include ../../../Makefile
+endif
+
 ifdef LCD_ENABLE
 ifdef LCD_ENABLE
-include drivers/gdisp/st7565ergodox/driver.mk
+include $(SUBPROJECT_PATH)/drivers/gdisp/st7565ergodox/driver.mk
 endif
 endif
 
 
 ifdef LED_ENABLE
 ifdef LED_ENABLE
-include drivers/gdisp/IS31FL3731C/driver.mk
+include $(SUBPROJECT_PATH)/drivers/gdisp/IS31FL3731C/driver.mk
 endif
 endif
-
-ifndef QUANTUM_DIR
-	include ../../Makefile
-endif

keyboards/infinity_ergodox/bootloader_defs.h → keyboards/ergodox/infinity/bootloader_defs.h


keyboards/infinity_ergodox/chconf.h → keyboards/ergodox/infinity/chconf.h


+ 10 - 15
keyboards/infinity_ergodox/config.h

@@ -15,8 +15,10 @@ You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.
 along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 */
 
 
-#ifndef CONFIG_H
-#define CONFIG_H
+#ifndef INFINITY_ERGODOX_CONFIG_H
+#define INFINITY_ERGODOX_CONFIG_H
+
+#include "../config.h"
 
 
 
 
 /* USB Device descriptor parameter */
 /* USB Device descriptor parameter */
@@ -35,25 +37,18 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #define MATRIX_COLS 5
 #define MATRIX_COLS 5
 #define LOCAL_MATRIX_ROWS 9
 #define LOCAL_MATRIX_ROWS 9
 
 
+/* number of backlight levels */
+#define BACKLIGHT_LEVELS 3
+
+#define LED_BRIGHTNESS_LO       15
+#define LED_BRIGHTNESS_HI       255
+
 /* define if matrix has ghost */
 /* define if matrix has ghost */
 //#define MATRIX_HAS_GHOST
 //#define MATRIX_HAS_GHOST
 
 
 /* Set 0 if debouncing isn't needed */
 /* Set 0 if debouncing isn't needed */
 #define DEBOUNCE    5
 #define DEBOUNCE    5
 
 
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-//#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-//#define LOCKING_RESYNC_ENABLE
-
-/* key combination for command */
-#define IS_COMMAND() ( \
-    keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
-)
-
-/* Keymap for Infiity prototype */
-#define INFINITY_PROTOTYPE
-
 #define SERIAL_LINK_BAUD 562500
 #define SERIAL_LINK_BAUD 562500
 #define SERIAL_LINK_THREAD_PRIORITY (NORMALPRIO - 1)
 #define SERIAL_LINK_THREAD_PRIORITY (NORMALPRIO - 1)
 // The visualizer needs gfx thread priorities
 // The visualizer needs gfx thread priorities

keyboards/infinity_ergodox/drivers/gdisp/IS31FL3731C/board_IS31FL3731C.h → keyboards/ergodox/infinity/drivers/gdisp/IS31FL3731C/board_IS31FL3731C.h


keyboards/infinity_ergodox/drivers/gdisp/IS31FL3731C/driver.mk → keyboards/ergodox/infinity/drivers/gdisp/IS31FL3731C/driver.mk


keyboards/infinity_ergodox/drivers/gdisp/IS31FL3731C/gdisp_IS31FL3731C.c → keyboards/ergodox/infinity/drivers/gdisp/IS31FL3731C/gdisp_IS31FL3731C.c


keyboards/infinity_ergodox/drivers/gdisp/IS31FL3731C/gdisp_lld_config.h → keyboards/ergodox/infinity/drivers/gdisp/IS31FL3731C/gdisp_lld_config.h


keyboards/infinity_ergodox/drivers/gdisp/emulator_lcd/driver.mk → keyboards/ergodox/infinity/drivers/gdisp/emulator_lcd/driver.mk


keyboards/infinity_ergodox/drivers/gdisp/emulator_lcd/emulator_lcd.c → keyboards/ergodox/infinity/drivers/gdisp/emulator_lcd/emulator_lcd.c


keyboards/infinity_ergodox/drivers/gdisp/emulator_led/driver.mk → keyboards/ergodox/infinity/drivers/gdisp/emulator_led/driver.mk


keyboards/infinity_ergodox/drivers/gdisp/emulator_led/emulator_led.c → keyboards/ergodox/infinity/drivers/gdisp/emulator_led/emulator_led.c


keyboards/infinity_ergodox/drivers/gdisp/st7565ergodox/board_ST7565.h → keyboards/ergodox/infinity/drivers/gdisp/st7565ergodox/board_ST7565.h


keyboards/infinity_ergodox/drivers/gdisp/st7565ergodox/driver.mk → keyboards/ergodox/infinity/drivers/gdisp/st7565ergodox/driver.mk


keyboards/infinity_ergodox/drivers/gdisp/st7565ergodox/gdisp_lld_ST7565.c → keyboards/ergodox/infinity/drivers/gdisp/st7565ergodox/gdisp_lld_ST7565.c


keyboards/infinity_ergodox/drivers/gdisp/st7565ergodox/gdisp_lld_config.h → keyboards/ergodox/infinity/drivers/gdisp/st7565ergodox/gdisp_lld_config.h


keyboards/infinity_ergodox/drivers/gdisp/st7565ergodox/st7565.h → keyboards/ergodox/infinity/drivers/gdisp/st7565ergodox/st7565.h


keyboards/infinity_ergodox/gfxconf.h → keyboards/ergodox/infinity/gfxconf.h


keyboards/infinity_ergodox/halconf.h → keyboards/ergodox/infinity/halconf.h


+ 58 - 2
keyboards/infinity_ergodox/infinity_ergodox.c

@@ -1,8 +1,10 @@
-#include "infinity_ergodox.h"
+#include "infinity.h"
 #include "ch.h"
 #include "ch.h"
 #include "hal.h"
 #include "hal.h"
 #include "serial_link/system/serial_link.h"
 #include "serial_link/system/serial_link.h"
+#ifdef VISUALIZER_ENABLE
 #include "lcd_backlight.h"
 #include "lcd_backlight.h"
+#endif
 
 
 void init_serial_link_hal(void) {
 void init_serial_link_hal(void) {
     PORTA->PCR[1] = PORTx_PCRn_PE | PORTx_PCRn_PS | PORTx_PCRn_PFE | PORTx_PCRn_MUX(2);
     PORTA->PCR[1] = PORTx_PCRn_PE | PORTx_PCRn_PS | PORTx_PCRn_PFE | PORTx_PCRn_MUX(2);
@@ -36,7 +38,7 @@ void init_serial_link_hal(void) {
 // Using a higher pre-scalar without flicker is possible but FTM0_MOD will need to be reduced
 // Using a higher pre-scalar without flicker is possible but FTM0_MOD will need to be reduced
 // Which will reduce the brightness range
 // Which will reduce the brightness range
 #define PRESCALAR_DEFINE 0
 #define PRESCALAR_DEFINE 0
-
+#ifdef VISUALIZER_ENABLE
 void lcd_backlight_hal_init(void) {
 void lcd_backlight_hal_init(void) {
 	// Setup Backlight
 	// Setup Backlight
     SIM->SCGC6 |= SIM_SCGC6_FTM0;
     SIM->SCGC6 |= SIM_SCGC6_FTM0;
@@ -74,3 +76,57 @@ void lcd_backlight_hal_color(uint16_t r, uint16_t g, uint16_t b) {
 	CHANNEL_GREEN.CnV = g;
 	CHANNEL_GREEN.CnV = g;
 	CHANNEL_BLUE.CnV = b;
 	CHANNEL_BLUE.CnV = b;
 }
 }
+#endif
+
+__attribute__ ((weak))
+void matrix_init_user(void) {
+}
+
+__attribute__ ((weak))
+void matrix_scan_user(void) {
+}
+
+
+void matrix_init_kb(void) {
+	// put your keyboard start-up code here
+	// runs once when the firmware starts up
+
+	matrix_init_user();
+}
+
+void matrix_scan_kb(void) {
+	// put your looping keyboard code here
+	// runs every cycle (a lot)
+
+	matrix_scan_user();
+}
+
+void ergodox_board_led_on(void){
+}
+
+void ergodox_right_led_1_on(void){
+}
+
+void ergodox_right_led_2_on(void){
+}
+
+void ergodox_right_led_3_on(void){
+}
+
+void ergodox_right_led_on(uint8_t led){
+}
+
+void ergodox_board_led_off(void){
+}
+
+void ergodox_right_led_1_off(void){
+}
+
+void ergodox_right_led_2_off(void){
+}
+
+void ergodox_right_led_3_off(void){
+}
+
+void ergodox_right_led_off(uint8_t led){
+}

+ 110 - 0
keyboards/ergodox/infinity/infinity.h

@@ -0,0 +1,110 @@
+#ifndef KEYBOARDS_ERGODOX_INFINITY_INFINITY_H_
+#define KEYBOARDS_ERGODOX_INFINITY_INFINITY_H_
+
+#include "quantum.h"
+
+void ergodox_board_led_on(void);
+void ergodox_right_led_1_on(void);
+void ergodox_right_led_2_on(void);
+void ergodox_right_led_3_on(void);
+void ergodox_right_led_on(uint8_t led);
+
+void ergodox_board_led_off(void);
+void ergodox_right_led_1_off(void);
+void ergodox_right_led_2_off(void);
+void ergodox_right_led_3_off(void);
+void ergodox_right_led_off(uint8_t led);
+
+inline void ergodox_led_all_on(void)
+{
+    ergodox_board_led_on();
+    ergodox_right_led_1_on();
+    ergodox_right_led_2_on();
+    ergodox_right_led_3_on();
+}
+
+inline void ergodox_led_all_off(void)
+{
+    ergodox_board_led_off();
+    ergodox_right_led_1_off();
+    ergodox_right_led_2_off();
+    ergodox_right_led_3_off();
+}
+
+inline void ergodox_right_led_1_set(uint8_t n){
+	if (n) {
+		ergodox_right_led_1_on();
+	} else {
+		ergodox_right_led_1_off();
+	}
+}
+
+inline void ergodox_right_led_2_set(uint8_t n){
+	if (n) {
+		ergodox_right_led_2_on();
+	} else {
+		ergodox_right_led_2_off();
+	}
+}
+
+inline void ergodox_right_led_3_set(uint8_t n){
+	if (n) {
+		ergodox_right_led_3_on();
+	} else {
+		ergodox_right_led_3_off();
+	}
+}
+
+inline void ergodox_right_led_set(uint8_t led, uint8_t n){
+	if (n) {
+		ergodox_right_led_on(led);
+	} else {
+		ergodox_right_led_off(led);
+	}
+}
+
+inline void ergodox_led_all_set(uint8_t n) {
+    ergodox_right_led_1_set(n);
+    ergodox_right_led_2_set(n);
+    ergodox_right_led_3_set(n);
+}
+
+#define KEYMAP( \
+    A80, A70, A60, A50, A40, A30, A20,  \
+    A81, A71, A61, A51, A41, A31, A21,  \
+    A82, A72, A62, A52, A42, A32,       \
+    A83, A73, A63, A53, A43, A33, A23,  \
+    A84, A74, A64, A54, A44,            \
+                                  A13, A03, \
+                                       A04, \
+                             A34, A24, A14, \
+         B20, B30, B40, B50, B60, B70, B80, \
+         B21, B31, B41, B51, B61, B71, B81, \
+              B32, B42, B52, B62, B72, B82, \
+         B23, B33, B43, B53, B63, B73, B83, \
+                   B44, B54, B64, B74, B84, \
+    B03, B13,     \
+    B04,          \
+    B14, B24, B34 \
+) { \
+    { KC_NO, KC_NO, KC_NO, A03,   A04 }, \
+    { KC_NO, KC_NO, KC_NO, A13,   A14 }, \
+    { A20,   A21,   KC_NO, A23,   A24 }, \
+    { A30,   A31,   A32,   A33,   A34 }, \
+    { A40,   A41,   A42,   A43,   A44 }, \
+    { A50,   A51,   A52,   A53,   A54 }, \
+    { A60,   A61,   A62,   A63,   A64 }, \
+    { A70,   A71,   A72,   A73,   A74 }, \
+    { A80,   A81,   A82,   A83,   A84 }, \
+    { KC_NO, KC_NO, KC_NO, B03,   B04 }, \
+    { KC_NO, KC_NO, KC_NO, B13,   B14 }, \
+    { B20,   B21,   KC_NO, B23,   B24 }, \
+    { B30,   B31,   B32,   B33,   B34 }, \
+    { B40,   B41,   B42,   B43,   B44 }, \
+    { B50,   B51,   B52,   B53,   B54 }, \
+    { B60,   B61,   B62,   B63,   B64 }, \
+    { B70,   B71,   B72,   B73,   B74 }, \
+    { B80,   B81,   B82,   B83,   B84 }  \
+}
+
+#endif /* KEYBOARDS_ERGODOX_INFINITY_INFINITY_H_ */

keyboards/infinity_ergodox/led.c → keyboards/ergodox/infinity/led.c


+ 3 - 0
keyboards/infinity_ergodox/matrix.c

@@ -63,6 +63,8 @@ void matrix_init(void)
 
 
     memset(matrix, 0, MATRIX_ROWS);
     memset(matrix, 0, MATRIX_ROWS);
     memset(matrix_debouncing, 0, LOCAL_MATRIX_ROWS);
     memset(matrix_debouncing, 0, LOCAL_MATRIX_ROWS);
+
+    matrix_init_quantum();
 }
 }
 
 
 uint8_t matrix_scan(void)
 uint8_t matrix_scan(void)
@@ -127,6 +129,7 @@ uint8_t matrix_scan(void)
         }
         }
         debouncing = false;
         debouncing = false;
     }
     }
+    matrix_scan_quantum();
     return 1;
     return 1;
 }
 }
 
 

keyboards/infinity_ergodox/mcuconf.h → keyboards/ergodox/infinity/mcuconf.h


keyboards/ergodox_ez/keymaps/ab/Makefile → keyboards/ergodox/keymaps/ab/Makefile


keyboards/ergodox_ez/keymaps/ab/keyboard-layout.json → keyboards/ergodox/keymaps/ab/keyboard-layout.json


keyboards/ergodox_ez/keymaps/ab/keyboard-layout.png → keyboards/ergodox/keymaps/ab/keyboard-layout.png


+ 1 - 1
keyboards/ergodox_ez/keymaps/ab/keymap.c

@@ -1,4 +1,4 @@
-#include "ergodox_ez.h"
+#include "ergodox.h"
 #include "debug.h"
 #include "debug.h"
 #include "action_layer.h"
 #include "action_layer.h"
 
 

keyboards/ergodox_ez/keymaps/ab/readme.md → keyboards/ergodox/keymaps/ab/readme.md


+ 1 - 1
keyboards/ergodox_ez/keymaps/adnw_k_o_y/keymap.c

@@ -1,4 +1,4 @@
-#include "ergodox_ez.h"
+#include "ergodox.h"
 #include "debug.h"
 #include "debug.h"
 #include "action_layer.h"
 #include "action_layer.h"
 #include "keymap_german.h"
 #include "keymap_german.h"

keyboards/ergodox_ez/keymaps/adnw_k_o_y/readme.md → keyboards/ergodox/keymaps/adnw_k_o_y/readme.md


+ 1 - 1
keyboards/ergodox_ez/keymaps/alexjj/keymap.c

@@ -1,4 +1,4 @@
-#include "ergodox_ez.h"
+#include "ergodox.h"
 #include "debug.h"
 #include "debug.h"
 #include "action_layer.h"
 #include "action_layer.h"
 
 

keyboards/ergodox_ez/keymaps/alexjj/readme.md → keyboards/ergodox/keymaps/alexjj/readme.md


keyboards/ergodox_ez/keymaps/alexjj/rl-layout.jpg → keyboards/ergodox/keymaps/alexjj/rl-layout.jpg


keyboards/ergodox_ez/keymaps/algernon/COPYING → keyboards/ergodox/keymaps/algernon/COPYING


keyboards/ergodox_ez/keymaps/algernon/Makefile → keyboards/ergodox/keymaps/algernon/Makefile


keyboards/ergodox_ez/keymaps/algernon/config.h → keyboards/ergodox/keymaps/algernon/config.h


keyboards/ergodox_ez/keymaps/algernon/images/adore-layer.png → keyboards/ergodox/keymaps/algernon/images/adore-layer.png


keyboards/ergodox_ez/keymaps/algernon/images/base-layer.png → keyboards/ergodox/keymaps/algernon/images/base-layer.png


keyboards/ergodox_ez/keymaps/algernon/images/heatmap.png → keyboards/ergodox/keymaps/algernon/images/heatmap.png


keyboards/ergodox_ez/keymaps/algernon/images/hun-layer.png → keyboards/ergodox/keymaps/algernon/images/hun-layer.png


keyboards/ergodox_ez/keymaps/algernon/images/nav-n-media-layer.png → keyboards/ergodox/keymaps/algernon/images/nav-n-media-layer.png


keyboards/ergodox_ez/keymaps/algernon/images/one-handed-layer.png → keyboards/ergodox/keymaps/algernon/images/one-handed-layer.png


keyboards/ergodox_ez/keymaps/algernon/images/steno-layer.png → keyboards/ergodox/keymaps/algernon/images/steno-layer.png


File diff suppressed because it is too large
+ 1217 - 1216
keyboards/ergodox_ez/keymaps/algernon/keymap.c


keyboards/ergodox_ez/keymaps/algernon/readme.md → keyboards/ergodox/keymaps/algernon/readme.md


keyboards/ergodox_ez/keymaps/algernon/tools/heatmap-adore-layout.json → keyboards/ergodox/keymaps/algernon/tools/heatmap-adore-layout.json


keyboards/ergodox_ez/keymaps/algernon/tools/heatmap-base-layout.json → keyboards/ergodox/keymaps/algernon/tools/heatmap-base-layout.json


keyboards/ergodox_ez/keymaps/algernon/tools/log-to-heatmap.py → keyboards/ergodox/keymaps/algernon/tools/log-to-heatmap.py


keyboards/ergodox_ez/keymaps/algernon/tools/max-focused → keyboards/ergodox/keymaps/algernon/tools/max-focused


+ 1 - 1
keyboards/ergodox_ez/keymaps/andrew_osx/keymap.c

@@ -1,7 +1,7 @@
 // Netable differences vs. the default firmware for the ErgoDox EZ:
 // Netable differences vs. the default firmware for the ErgoDox EZ:
 // 1. The Cmd key is now on the right side, making Cmd+Space easier.
 // 1. The Cmd key is now on the right side, making Cmd+Space easier.
 // 2. The media keys work on OSX (But not on Windows).
 // 2. The media keys work on OSX (But not on Windows).
-#include "ergodox_ez.h"
+#include "ergodox.h"
 #include "debug.h"
 #include "debug.h"
 #include "action_layer.h"
 #include "action_layer.h"
 
 

keyboards/ergodox_ez/keymaps/bepo/bepo.png → keyboards/ergodox/keymaps/bepo/bepo.png


+ 1 - 1
keyboards/ergodox_ez/keymaps/bepo/keymap.c

@@ -1,4 +1,4 @@
-#include "ergodox_ez.h"
+#include "ergodox.h"
 #include "debug.h"
 #include "debug.h"
 #include "action_layer.h"
 #include "action_layer.h"
 #include "keymap_bepo.h"
 #include "keymap_bepo.h"

keyboards/ergodox_ez/keymaps/bepo/readme.md → keyboards/ergodox/keymaps/bepo/readme.md


keyboards/ergodox_ez/keymaps/coderkun_neo2/Makefile → keyboards/ergodox/keymaps/coderkun_neo2/Makefile


+ 1 - 1
keyboards/ergodox_ez/keymaps/coderkun_neo2/keymap.c

@@ -1,4 +1,4 @@
-#include "ergodox_ez.h"
+#include "ergodox.h"
 #include "debug.h"
 #include "debug.h"
 #include "action_layer.h"
 #include "action_layer.h"
 #include "led.h"
 #include "led.h"

keyboards/ergodox_ez/keymaps/coderkun_neo2/readme.md → keyboards/ergodox/keymaps/coderkun_neo2/readme.md


+ 1 - 1
keyboards/ergodox_ez/keymaps/colemak/keymap.c

@@ -1,4 +1,4 @@
-#include "ergodox_ez.h"
+#include "ergodox.h"
 #include "debug.h"
 #include "debug.h"
 #include "action_layer.h"
 #include "action_layer.h"
 
 

keyboards/ergodox_ez/keymaps/colemak/readme.md → keyboards/ergodox/keymaps/colemak/readme.md


keyboards/ergodox_ez/keymaps/colemak_osx_pc_no/keyboard-layout.png → keyboards/ergodox/keymaps/colemak_osx_pc_no/keyboard-layout.png


+ 1 - 1
keyboards/ergodox_ez/keymaps/colemak_osx_pc_no/keymap.c

@@ -1,4 +1,4 @@
-#include "ergodox_ez.h"
+#include "ergodox.h"
 #include "debug.h"
 #include "debug.h"
 #include "action_layer.h"
 #include "action_layer.h"
 #include "keymap_norwegian.h"
 #include "keymap_norwegian.h"

keyboards/ergodox_ez/keymaps/colemak_osx_pc_no/readme.md → keyboards/ergodox/keymaps/colemak_osx_pc_no/readme.md


keyboards/ergodox_ez/keymaps/csharp_dev/csharp_dev.png → keyboards/ergodox/keymaps/csharp_dev/csharp_dev.png


keyboards/ergodox_ez/keymaps/csharp_dev/csharp_dev_legend.png → keyboards/ergodox/keymaps/csharp_dev/csharp_dev_legend.png


+ 1 - 1
keyboards/ergodox_ez/keymaps/csharp_dev/keymap.c

@@ -1,4 +1,4 @@
-#include "ergodox_ez.h"
+#include "ergodox.h"
 #include "debug.h"
 #include "debug.h"
 #include "action_layer.h"
 #include "action_layer.h"
 
 

keyboards/ergodox_ez/keymaps/csharp_dev/readme.md → keyboards/ergodox/keymaps/csharp_dev/readme.md


+ 1 - 1
keyboards/ergodox_ez/keymaps/dave/keymap.c

@@ -1,4 +1,4 @@
-#include "ergodox_ez.h"
+#include "ergodox.h"
 #include "debug.h"
 #include "debug.h"
 #include "action_layer.h"
 #include "action_layer.h"
 
 

keyboards/ergodox_ez/keymaps/dave/readme.md → keyboards/ergodox/keymaps/dave/readme.md


keyboards/ergodox_ez/keymaps/default/default.png → keyboards/ergodox/keymaps/default/default.png


keyboards/ergodox_ez/keymaps/default/default_highres.png → keyboards/ergodox/keymaps/default/default_highres.png


+ 1 - 1
keyboards/ergodox_ez/keymaps/default/keymap.c

@@ -1,4 +1,4 @@
-#include "ergodox_ez.h"
+#include "ergodox.h"
 #include "debug.h"
 #include "debug.h"
 #include "action_layer.h"
 #include "action_layer.h"
 
 

keyboards/ergodox_ez/keymaps/default/readme.md → keyboards/ergodox/keymaps/default/readme.md


keyboards/ergodox_ez/keymaps/default_osx/default_osx_highres.png → keyboards/ergodox/keymaps/default_osx/default_osx_highres.png


+ 1 - 1
keyboards/ergodox_ez/keymaps/default_osx/keymap.c

@@ -1,7 +1,7 @@
 // Netable differences vs. the default firmware for the ErgoDox EZ:
 // Netable differences vs. the default firmware for the ErgoDox EZ:
 // 1. The Cmd key is now on the right side, making Cmd+Space easier.
 // 1. The Cmd key is now on the right side, making Cmd+Space easier.
 // 2. The media keys work on OSX (But not on Windows).
 // 2. The media keys work on OSX (But not on Windows).
-#include "ergodox_ez.h"
+#include "ergodox.h"
 #include "debug.h"
 #include "debug.h"
 #include "action_layer.h"
 #include "action_layer.h"
 
 

keyboards/ergodox_ez/keymaps/default_osx/readme.md → keyboards/ergodox/keymaps/default_osx/readme.md


+ 1 - 1
keyboards/ergodox_ez/keymaps/dragon788/keymap.c

@@ -1,4 +1,4 @@
-#include "ergodox_ez.h"
+#include "ergodox.h"
 #include "debug.h"
 #include "debug.h"
 #include "action_layer.h"
 #include "action_layer.h"
 
 

keyboards/ergodox_ez/keymaps/dvorak/dvorak.png → keyboards/ergodox/keymaps/dvorak/dvorak.png


+ 1 - 1
keyboards/ergodox_ez/keymaps/dvorak/keymap.c

@@ -1,4 +1,4 @@
-#include "ergodox_ez.h"
+#include "ergodox.h"
 #include "debug.h"
 #include "debug.h"
 #include "action_layer.h"
 #include "action_layer.h"
 
 

keyboards/ergodox_ez/keymaps/dvorak_intl_squisher/keyboard-layout0.png → keyboards/ergodox/keymaps/dvorak_intl_squisher/keyboard-layout0.png


keyboards/ergodox_ez/keymaps/dvorak_intl_squisher/keyboard-layout1.png → keyboards/ergodox/keymaps/dvorak_intl_squisher/keyboard-layout1.png


keyboards/ergodox_ez/keymaps/dvorak_intl_squisher/keyboard-layout2.png → keyboards/ergodox/keymaps/dvorak_intl_squisher/keyboard-layout2.png


+ 1 - 1
keyboards/ergodox_ez/keymaps/dvorak_intl_squisher/keymap.c

@@ -1,4 +1,4 @@
-#include "ergodox_ez.h"
+#include "ergodox.h"
 #include "debug.h"
 #include "debug.h"
 #include "action_layer.h"
 #include "action_layer.h"
 
 

keyboards/ergodox_ez/keymaps/dvorak_intl_squisher/readme.md → keyboards/ergodox/keymaps/dvorak_intl_squisher/readme.md


+ 1 - 1
keyboards/ergodox_ez/keymaps/dvorak_spanish/keymap.c

@@ -1,4 +1,4 @@
-#include "ergodox_ez.h"
+#include "ergodox.h"
 #include "debug.h"
 #include "debug.h"
 #include "action_layer.h"
 #include "action_layer.h"
 
 

+ 0 - 0
keyboards/ergodox_ez/keymaps/dvorak_spanish/readme.md


Some files were not shown because too many files changed in this diff