فهرست منبع

Updated several keyboard folders to use new keymap naming scheme

Noah Andrews 9 سال پیش
والد
کامیت
95fba250ef
41فایلهای تغییر یافته به همراه45 افزوده شده و 42 حذف شده
  1. 4 1
      BUILD_GUIDE.md
  2. 2 2
      keyboard/alps64/Makefile
  3. 0 0
      keyboard/alps64/keymaps/default.c
  4. 0 0
      keyboard/alps64/keymaps/hasu.c
  5. 2 2
      keyboard/atomic/Makefile
  6. 2 2
      keyboard/atomic/README.md
  7. 0 0
      keyboard/atomic/keymaps/abienz.c
  8. 0 0
      keyboard/atomic/keymaps/default.c
  9. 0 0
      keyboard/atomic/keymaps/michelle.c
  10. 2 2
      keyboard/atreus/Makefile
  11. 2 2
      keyboard/atreus/README.md
  12. 0 0
      keyboard/atreus/keymaps/default.c
  13. 0 0
      keyboard/atreus/keymaps/gerb.c
  14. 2 2
      keyboard/gh60/Makefile
  15. 2 2
      keyboard/gh60/Makefile.pjrc
  16. 7 7
      keyboard/gh60/README.md
  17. 0 0
      keyboard/gh60/keymaps/hasu.c
  18. 0 0
      keyboard/gh60/keymaps/hhkb.c
  19. 0 0
      keyboard/gh60/keymaps/plain.c
  20. 0 0
      keyboard/gh60/keymaps/poker.c
  21. 0 0
      keyboard/gh60/keymaps/poker_bit.c
  22. 0 0
      keyboard/gh60/keymaps/poker_set.c
  23. 0 0
      keyboard/gh60/keymaps/spacefn.c
  24. 4 4
      keyboard/hhkb/Makefile
  25. 2 2
      keyboard/hhkb/Makefile.pjrc
  26. 4 4
      keyboard/hhkb/Makefile.rn42
  27. 1 1
      keyboard/hhkb/README.md
  28. 0 0
      keyboard/hhkb/keymaps/hasu.c
  29. 0 0
      keyboard/hhkb/keymaps/hhkb.c
  30. 0 0
      keyboard/hhkb/keymaps/jp.c
  31. 0 0
      keyboard/hhkb/keymaps/spacefn.c
  32. 2 2
      keyboard/hhkb_qmk/Makefile
  33. 2 2
      keyboard/hhkb_qmk/README.md
  34. 0 0
      keyboard/hhkb_qmk/keymaps/default.c
  35. 0 0
      keyboard/hhkb_qmk/keymaps/lxol.c
  36. 2 2
      keyboard/jd45/Makefile
  37. 0 0
      keyboard/jd45/keymaps/default.c
  38. 0 0
      keyboard/jd45/keymaps/justin.c
  39. 2 2
      keyboard/planck/README.md
  40. 0 0
      keyboard/planck/old_keymap_files/common_keymaps/keymap_mitch.c
  41. 1 1
      quantum/template/README.md

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 4 - 1
BUILD_GUIDE.md


+ 2 - 2
keyboard/alps64/Makefile

@@ -53,9 +53,9 @@ SRC =	keymap_common.c \
 	led.c
 	led.c
 
 
 ifdef KEYMAP
 ifdef KEYMAP
-    SRC := keymap_$(KEYMAP).c $(SRC)
+    SRC := keymaps/$(KEYMAP).c $(SRC)
 else
 else
-    SRC := keymap_plain.c $(SRC)
+    SRC := keymaps/default.c $(SRC)
 endif
 endif
 
 
 CONFIG_H = config.h
 CONFIG_H = config.h

keyboard/alps64/keymap_plain.c → keyboard/alps64/keymaps/default.c


keyboard/alps64/keymap_hasu.c → keyboard/alps64/keymaps/hasu.c


+ 2 - 2
keyboard/atomic/Makefile

@@ -54,9 +54,9 @@ SRC = atomic.c \
 	backlight.c 
 	backlight.c 
 
 
 ifdef KEYMAP
 ifdef KEYMAP
-    SRC := keymaps/keymap_$(KEYMAP).c $(SRC)
+    SRC := keymaps/$(KEYMAP).c $(SRC)
 else
 else
-    SRC := keymaps/keymap_default.c $(SRC)
+    SRC := keymaps/default.c $(SRC)
 endif
 endif
 
 
 CONFIG_H = config.h
 CONFIG_H = config.h

+ 2 - 2
keyboard/atomic/README.md

@@ -16,10 +16,10 @@ Depending on which keymap you would like to use, you will have to compile slight
 To build with the default keymap, simply run `make`.
 To build with the default keymap, simply run `make`.
 
 
 ### Other Keymaps
 ### Other Keymaps
-Several version of keymap are available in advance but you are recommended to define your favorite layout yourself. To define your own keymap create file named `keymap_<name>.c` and see keymap document (you can find in top README.md) and existent keymap files.
+Several version of keymap are available in advance but you are recommended to define your favorite layout yourself. To define your own keymap create a file in the keymaps folder named `<name>.c` and see keymap document (you can find in top README.md) and existent keymap files.
 
 
 To build the firmware binary hex file with a keymap just do `make` with `KEYMAP` option like:
 To build the firmware binary hex file with a keymap just do `make` with `KEYMAP` option like:
 ```
 ```
 $ make KEYMAP=[default|jack|<name>]
 $ make KEYMAP=[default|jack|<name>]
 ```
 ```
-Keymaps follow the format **__keymap\_\<name\>.c__** and are stored in the `keymaps` folder.
+Keymaps follow the format **__\<name\>.c__** and are stored in the `keymaps` folder.

keyboard/atomic/keymaps/keymap_abienz.c → keyboard/atomic/keymaps/abienz.c


keyboard/atomic/keymaps/keymap_default.c → keyboard/atomic/keymaps/default.c


keyboard/atomic/keymaps/keymap_michelle.c → keyboard/atomic/keymaps/michelle.c


+ 2 - 2
keyboard/atreus/Makefile

@@ -53,9 +53,9 @@ TARGET_DIR = .
 SRC = atreus.c
 SRC = atreus.c
 
 
 ifdef KEYMAP
 ifdef KEYMAP
-    SRC := keymaps/keymap_$(KEYMAP).c $(SRC)
+    SRC := keymaps/$(KEYMAP).c $(SRC)
 else
 else
-    SRC := keymaps/keymap_default.c $(SRC)
+    SRC := keymaps/default.c $(SRC)
 endif
 endif
 
 
 ifdef TEENSY2
 ifdef TEENSY2

+ 2 - 2
keyboard/atreus/README.md

@@ -177,10 +177,10 @@ Depending on which keymap you would like to use, you will have to compile slight
 To build with the default keymap, simply run `make`.
 To build with the default keymap, simply run `make`.
 
 
 ### Other Keymaps
 ### Other Keymaps
-Several version of keymap are available in advance but you are recommended to define your favorite layout yourself. To define your own keymap create file named `keymap_<name>.c` and see keymap document (you can find in top README.md) and existent keymap files.
+Several version of keymap are available in advance but you are recommended to define your favorite layout yourself. To define your own keymap create file named `<name>.c` and see keymap document (you can find in top README.md) and existent keymap files.
 
 
 To build the firmware binary hex file with a keymap just do `make` with `KEYMAP` option like:
 To build the firmware binary hex file with a keymap just do `make` with `KEYMAP` option like:
 ```
 ```
 $ make KEYMAP=[default|jack|<name>]
 $ make KEYMAP=[default|jack|<name>]
 ```
 ```
-Keymaps follow the format **__keymap\_\<name\>.c__** and are stored in the `keymaps` folder.
+Keymaps follow the format **__\<name\>.c__** and are stored in the `keymaps` folder.

keyboard/atreus/keymaps/keymap_default.c → keyboard/atreus/keymaps/default.c


keyboard/atreus/keymaps/keymap_gerb.c → keyboard/atreus/keymaps/gerb.c


+ 2 - 2
keyboard/gh60/Makefile

@@ -53,9 +53,9 @@ SRC =	keymap_common.c \
 	led.c
 	led.c
 
 
 ifdef KEYMAP
 ifdef KEYMAP
-    SRC := keymap_$(KEYMAP).c $(SRC)
+    SRC := keymaps/$(KEYMAP).c $(SRC)
 else
 else
-    SRC := keymap_poker.c $(SRC)
+    SRC := keymaps/poker.c $(SRC)
 endif
 endif
 
 
 CONFIG_H = config.h
 CONFIG_H = config.h

+ 2 - 2
keyboard/gh60/Makefile.pjrc

@@ -53,9 +53,9 @@ SRC =	keymap_common.c \
 	led.c
 	led.c
 
 
 ifdef KEYMAP
 ifdef KEYMAP
-    SRC := keymap_$(KEYMAP).c $(SRC)
+    SRC := keymaps/$(KEYMAP).c $(SRC)
 else
 else
-    SRC := keymap_poker.c $(SRC)
+    SRC := keymaps/poker.c $(SRC)
 endif
 endif
 
 
 CONFIG_H = config.h
 CONFIG_H = config.h

+ 7 - 7
keyboard/gh60/README.md

@@ -21,7 +21,7 @@ Use `make -f Makefile.pjrc` if you want to use PJRC stack but I find no reason t
 
 
 
 
 ## Keymap
 ## Keymap
-Several version of keymap are available in advance but you are recommended to define your favorite layout yourself. To define your own keymap create file named `keymap_<name>.c` and see keymap document(you can find in top README.md) and existent keymap files.
+Several version of keymap are available in advance but you are recommended to define your favorite layout yourself. To define your own keymap create file named `<name>.c` in the keymaps folder, and see keymap document(you can find in top README.md) and existent keymap files.
 
 
 To build firmware binary hex file with a certain keymap just do `make` with `KEYMAP` option like:
 To build firmware binary hex file with a certain keymap just do `make` with `KEYMAP` option like:
 
 
@@ -29,8 +29,8 @@ To build firmware binary hex file with a certain keymap just do `make` with `KEY
 
 
 
 
 ### 1  Poker
 ### 1  Poker
-[keymap_poker.c](keymap_poker.c) emulates original Poker layers
-while both [keymap_poker_bit.c](keymap_poker_bit.c) and [keymap_poker_set.c](keymap_poker_set.c) implements same layout in different way and they fix a minor issue of original Poker and enhance arrow keys.
+[poker.c](keymaps/poker.c) emulates original Poker layers
+while both [poker_bit.c](keymaps/poker_bit.c) and [poker_set.c](keymaps/poker_set.c) implement the same layout in different ways and they fix a minor issue of original Poker and enhance arrow keys.
 
 
     Fn + Esc = `
     Fn + Esc = `
     Fn + {left, down, up, right}  = {home, pgdown, pgup, end}
     Fn + {left, down, up, right}  = {home, pgdown, pgup, end}
@@ -63,7 +63,7 @@ while both [keymap_poker_bit.c](keymap_poker_bit.c) and [keymap_poker_set.c](key
 
 
 ### 2. Plain
 ### 2. Plain
 Without any Fn layer this will be useful if you want to use key remapping tool like AHK on host.
 Without any Fn layer this will be useful if you want to use key remapping tool like AHK on host.
-See [keymap_plain.c](keymap_plain.c) for detail.
+See [plain.c](keymaps/plain.c) for detail.
 
 
 #### 1.0 Plain Default layer
 #### 1.0 Plain Default layer
     ,-----------------------------------------------------------.
     ,-----------------------------------------------------------.
@@ -80,11 +80,11 @@ See [keymap_plain.c](keymap_plain.c) for detail.
 
 
 
 
 ### 3. Hasu
 ### 3. Hasu
-This is my favorite keymap with HHKB Fn, Vi cursor and Mousekey layer. See [keymap_hasu.c](keymap_hasu.c) for detail.
+This is my favorite keymap with HHKB Fn, Vi cursor and Mousekey layer. See [hasu.c](keymaps/hasu.c) for detail.
 
 
 
 
 ### 4. SpaceFN
 ### 4. SpaceFN
-This layout proposed by spiceBar uses space bar to change layer with using Dual role key technique. See [keymap_spacefn.c](keymap_spacefn.c) and [SpaceFN discussion](http://geekhack.org/index.php?topic=51069.0).
+This layout proposed by spiceBar uses space bar to change layer with using Dual role key technique. See [spacefn.c](keymaps/spacefn.c) and [SpaceFN discussion](http://geekhack.org/index.php?topic=51069.0).
 
 
 #### 4.0 Default layer
 #### 4.0 Default layer
     ,-----------------------------------------------------------.
     ,-----------------------------------------------------------.
@@ -113,7 +113,7 @@ This layout proposed by spiceBar uses space bar to change layer with using Dual
 
 
 
 
 ### 5. HHKB
 ### 5. HHKB
-[keymap_hhkb.c](keymap_hhkb.c) emulates original HHKB layers.
+[hhkb.c](keymaps/hhkb.c) emulates original HHKB layers.
 #### 5.0: Default layer
 #### 5.0: Default layer
     ,-----------------------------------------------------------.
     ,-----------------------------------------------------------.
     |Esc|  1|  2|  3|  4|  5|  6|  7|  8|  9|  0|  -|  =|  \|  `|
     |Esc|  1|  2|  3|  4|  5|  6|  7|  8|  9|  0|  -|  =|  \|  `|

keyboard/gh60/keymap_hasu.c → keyboard/gh60/keymaps/hasu.c


keyboard/gh60/keymap_hhkb.c → keyboard/gh60/keymaps/hhkb.c


keyboard/gh60/keymap_plain.c → keyboard/gh60/keymaps/plain.c


keyboard/gh60/keymap_poker.c → keyboard/gh60/keymaps/poker.c


keyboard/gh60/keymap_poker_bit.c → keyboard/gh60/keymaps/poker_bit.c


keyboard/gh60/keymap_poker_set.c → keyboard/gh60/keymaps/poker_set.c


keyboard/gh60/keymap_spacefn.c → keyboard/gh60/keymaps/spacefn.c


+ 4 - 4
keyboard/hhkb/Makefile

@@ -129,17 +129,17 @@ NKRO_ENABLE = yes		# USB Nkey Rollover
 # Keymap file
 # Keymap file
 #
 #
 ifdef KEYMAP
 ifdef KEYMAP
-    SRC := keymap_$(KEYMAP).c $(SRC)
+    SRC := keymaps/$(KEYMAP).c $(SRC)
 else
 else
     ifdef HHKB_JP
     ifdef HHKB_JP
-    	SRC := keymap_jp.c $(SRC)
+    	SRC := keymaps/jp.c $(SRC)
     else 
     else 
-    	SRC := keymap_hhkb.c $(SRC)
+    	SRC := keymaps/hhkb.c $(SRC)
     endif
     endif
 endif
 endif
 
 
 
 
-ifneq (, $(or $(findstring keymap_jp.c, $(SRC)), $(findstring yes, $(HHKB_JP))))
+ifneq (, $(or $(findstring jp.c, $(SRC)), $(findstring yes, $(HHKB_JP))))
     OPT_DEFS += -DHHKB_JP
     OPT_DEFS += -DHHKB_JP
 endif
 endif
 
 

+ 2 - 2
keyboard/hhkb/Makefile.pjrc

@@ -18,9 +18,9 @@ SRC =   keymap_common.c \
 	led.c
 	led.c
 
 
 ifdef KEYMAP
 ifdef KEYMAP
-    SRC := keymap_$(KEYMAP).c $(SRC)
+    SRC := keymaps/$(KEYMAP).c $(SRC)
 else
 else
-    SRC := keymap_hasu.c $(SRC)
+    SRC := keymaps/hasu.c $(SRC)
 endif
 endif
 
 
 CONFIG_H = config.h
 CONFIG_H = config.h

+ 4 - 4
keyboard/hhkb/Makefile.rn42

@@ -122,17 +122,17 @@ COMMAND_ENABLE = yes    	# Commands for debug and configuration
 # Keymap file
 # Keymap file
 #
 #
 ifdef KEYMAP
 ifdef KEYMAP
-    SRC := keymap_$(KEYMAP).c $(SRC)
+    SRC := keymaps/$(KEYMAP).c $(SRC)
 else
 else
     ifdef HHKB_JP
     ifdef HHKB_JP
-    	SRC := keymap_jp.c $(SRC)
+    	SRC := keymaps/jp.c $(SRC)
     else 
     else 
-    	SRC := keymap_hhkb.c $(SRC)
+    	SRC := keymaps/hhkb.c $(SRC)
     endif
     endif
 endif
 endif
 
 
 
 
-ifneq (, $(or $(findstring keymap_jp.c, $(SRC)), $(findstring yes, $(HHKB_JP))))
+ifneq (, $(or $(findstring jp.c, $(SRC)), $(findstring yes, $(HHKB_JP))))
     OPT_DEFS += -DHHKB_JP
     OPT_DEFS += -DHHKB_JP
 endif
 endif
 
 

+ 1 - 1
keyboard/hhkb/README.md

@@ -76,7 +76,7 @@ Use [Teensy Loader] if your controller is Teensy/Teensy++.
 
 
 
 
 ##Keymap
 ##Keymap
-To define your own keymap create file named `keymap_<name>.c` and see [keymap document](../../doc/keymap.md) and existent keymap files.
+To define your own keymap create a file in the keymaps folder named `<name>.c` and see keymap document (you can find in top README.md) and existent keymap files.
 
 
 
 
 ##Hardware
 ##Hardware

keyboard/hhkb/keymap_hasu.c → keyboard/hhkb/keymaps/hasu.c


keyboard/hhkb/keymap_hhkb.c → keyboard/hhkb/keymaps/hhkb.c


keyboard/hhkb/keymap_jp.c → keyboard/hhkb/keymaps/jp.c


keyboard/hhkb/keymap_spacefn.c → keyboard/hhkb/keymaps/spacefn.c


+ 2 - 2
keyboard/hhkb_qmk/Makefile

@@ -54,9 +54,9 @@ SRC = hhkb_qmk.c \
       matrix.c
       matrix.c
 
 
 ifdef KEYMAP
 ifdef KEYMAP
-    SRC := keymaps/keymap_$(KEYMAP).c $(SRC)
+    SRC := keymaps/keymaps/$(KEYMAP).c $(SRC)
 else
 else
-    SRC := keymaps/keymap_default.c $(SRC)
+    SRC := keymaps/keymaps/default.c $(SRC)
 endif
 endif
 
 
 CONFIG_H = config.h
 CONFIG_H = config.h

+ 2 - 2
keyboard/hhkb_qmk/README.md

@@ -171,10 +171,10 @@ Depending on which keymap you would like to use, you will have to compile slight
 To build with the default keymap, simply run `make`.
 To build with the default keymap, simply run `make`.
 
 
 ### Other Keymaps
 ### Other Keymaps
-Several version of keymap are available in advance but you are recommended to define your favorite layout yourself. To define your own keymap create file named `keymap_<name>.c` and see keymap document (you can find in top README.md) and existent keymap files.
+Several version of keymap are available in advance but you are recommended to define your favorite layout yourself. To define your own keymap create a file in the keymaps folder named `<name>.c` and see keymap document (you can find in top README.md) and existent keymap files.
 
 
 To build the firmware binary hex file with a keymap just do `make` with `KEYMAP` option like:
 To build the firmware binary hex file with a keymap just do `make` with `KEYMAP` option like:
 ```
 ```
 $ make KEYMAP=[default|jack|<name>]
 $ make KEYMAP=[default|jack|<name>]
 ```
 ```
-Keymaps follow the format **__keymap\_\<name\>.c__** and are stored in the `keymaps` folder.
+Keymaps follow the format **__\<name\>.c__** and are stored in the `keymaps` folder.

keyboard/hhkb_qmk/keymaps/keymap_default.c → keyboard/hhkb_qmk/keymaps/default.c


keyboard/hhkb_qmk/keymaps/keymap_lxol.c → keyboard/hhkb_qmk/keymaps/lxol.c


+ 2 - 2
keyboard/jd45/Makefile

@@ -54,9 +54,9 @@ SRC = jd45.c \
 	backlight.c 
 	backlight.c 
 
 
 ifdef KEYMAP
 ifdef KEYMAP
-    SRC := keymaps/keymap_$(KEYMAP).c $(SRC)
+    SRC := keymaps/keymaps/(KEYMAP).c $(SRC)
 else
 else
-    SRC := keymaps/keymap_default.c $(SRC)
+    SRC := keymaps/keymaps/default.c $(SRC)
 endif
 endif
 
 
 CONFIG_H = config.h
 CONFIG_H = config.h

keyboard/jd45/keymaps/keymap_default.c → keyboard/jd45/keymaps/default.c


keyboard/jd45/keymaps/keymap_justin.c → keyboard/jd45/keymaps/justin.c


+ 2 - 2
keyboard/planck/README.md

@@ -16,13 +16,13 @@ Depending on which keymap you would like to use, you will have to compile slight
 To build with the default keymap, simply run `make`.
 To build with the default keymap, simply run `make`.
 
 
 ### Other Keymaps
 ### Other Keymaps
-Several version of keymap are available in advance but you are recommended to define your favorite layout yourself. To define your own keymap create file named `<name>.c` and see keymap document (you can find in top README.md) and existent keymap files.
+Several version of keymap are available in advance but you are recommended to define your favorite layout yourself. To define your own keymap create file named `<name>.c` in the keymaps folder, and see keymap document (you can find in top README.md) and existent keymap files.
 
 
 To build the firmware binary hex file with a keymap just do `make` with `KEYMAP` option like:
 To build the firmware binary hex file with a keymap just do `make` with `KEYMAP` option like:
 ```
 ```
 $ make KEYMAP=[default|jack|<name>]
 $ make KEYMAP=[default|jack|<name>]
 ```
 ```
-Keymaps follow the format **__<name\>.c__** and are stored in the `keymaps` folder.
+Keymaps follow the format **__\<name\>.c__** and are stored in the `keymaps` folder.
 
 
 ### Notable forks (which some of the keymap files are from)
 ### Notable forks (which some of the keymap files are from)
 - [Shane's Fork](https://github.com/shanecelis/tmk_keyboard/tree/master/keyboard/planck)
 - [Shane's Fork](https://github.com/shanecelis/tmk_keyboard/tree/master/keyboard/planck)

keyboard/planck/common_keymaps/keymap_mitch.c → keyboard/planck/old_keymap_files/common_keymaps/keymap_mitch.c


+ 1 - 1
quantum/template/README.md

@@ -15,7 +15,7 @@ Depending on which keymap you would like to use, you will have to compile slight
 To build with the default keymap, simply run `make`.
 To build with the default keymap, simply run `make`.
 
 
 ### Other Keymaps
 ### Other Keymaps
-Several version of keymap are available in advance but you are recommended to define your favorite layout yourself. To define your own keymap create file named `<name>.c` and see keymap document (you can find in top README.md) and existent keymap files.
+Several version of keymap are available in advance but you are recommended to define your favorite layout yourself. To define your own keymap create file named `<name>.c` in the keymaps folder, and see keymap document (you can find in top README.md) and existent keymap files.
 
 
 To build the firmware binary hex file with a keymap just do `make` with `KEYMAP` option like:
 To build the firmware binary hex file with a keymap just do `make` with `KEYMAP` option like:
 ```
 ```