diff options
| -rw-r--r-- | keyboards/octagon/keymaps/default/keymap.c (renamed from keyboards/octagon_v2/keymaps/default/keymap.c) | 2 | ||||
| -rw-r--r-- | keyboards/octagon/keymaps/default/readme.md (renamed from keyboards/octagon_v2/keymaps/default/readme.md) | 0 | ||||
| -rw-r--r-- | keyboards/octagon/octagon.c | 1 | ||||
| -rw-r--r-- | keyboards/octagon/octagon.h | 10 | ||||
| -rw-r--r-- | keyboards/octagon/readme.md | 9 | ||||
| -rw-r--r-- | keyboards/octagon/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/octagon/v2/config.h (renamed from keyboards/octagon_v2/config.h) | 0 | ||||
| -rw-r--r-- | keyboards/octagon/v2/indicator_leds.c (renamed from keyboards/octagon_v2/indicator_leds.c) | 0 | ||||
| -rw-r--r-- | keyboards/octagon/v2/indicator_leds.h (renamed from keyboards/octagon_v2/indicator_leds.h) | 0 | ||||
| -rw-r--r-- | keyboards/octagon/v2/matrix.c (renamed from keyboards/octagon_v2/matrix.c) | 0 | ||||
| -rw-r--r-- | keyboards/octagon/v2/readme.md (renamed from keyboards/octagon_v2/readme.md) | 4 | ||||
| -rw-r--r-- | keyboards/octagon/v2/rules.mk (renamed from keyboards/octagon_v2/rules.mk) | 0 | ||||
| -rw-r--r-- | keyboards/octagon/v2/v2.c (renamed from keyboards/octagon_v2/octagon_v2.c) | 2 | ||||
| -rw-r--r-- | keyboards/octagon/v2/v2.h (renamed from keyboards/octagon_v2/octagon_v2.h) | 6 |
14 files changed, 28 insertions, 7 deletions
diff --git a/keyboards/octagon_v2/keymaps/default/keymap.c b/keyboards/octagon/keymaps/default/keymap.c index 123da6069..5fd2d0aeb 100644 --- a/keyboards/octagon_v2/keymaps/default/keymap.c +++ b/keyboards/octagon/keymaps/default/keymap.c | |||
| @@ -13,7 +13,7 @@ | |||
| 13 | * You should have received a copy of the GNU General Public License | 13 | * You should have received a copy of the GNU General Public License |
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | */ | 15 | */ |
| 16 | #include "octagon_v2.h" | 16 | #include "octagon.h" |
| 17 | 17 | ||
| 18 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | 18 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
| 19 | /* layer 0: qwerty */ | 19 | /* layer 0: qwerty */ |
diff --git a/keyboards/octagon_v2/keymaps/default/readme.md b/keyboards/octagon/keymaps/default/readme.md index 456fc3ecb..456fc3ecb 100644 --- a/keyboards/octagon_v2/keymaps/default/readme.md +++ b/keyboards/octagon/keymaps/default/readme.md | |||
diff --git a/keyboards/octagon/octagon.c b/keyboards/octagon/octagon.c new file mode 100644 index 000000000..6eb9e73b2 --- /dev/null +++ b/keyboards/octagon/octagon.c | |||
| @@ -0,0 +1 @@ | |||
| #include "octagon.h" | |||
diff --git a/keyboards/octagon/octagon.h b/keyboards/octagon/octagon.h new file mode 100644 index 000000000..d48a715bb --- /dev/null +++ b/keyboards/octagon/octagon.h | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | #ifndef OCTAGON_H | ||
| 2 | #define OCTAGON_H | ||
| 3 | |||
| 4 | #include "quantum.h" | ||
| 5 | |||
| 6 | #ifdef KEYBOARD_octagon_v2 | ||
| 7 | #include "v2.h" | ||
| 8 | #endif | ||
| 9 | |||
| 10 | #endif | ||
diff --git a/keyboards/octagon/readme.md b/keyboards/octagon/readme.md new file mode 100644 index 000000000..bf937a3f6 --- /dev/null +++ b/keyboards/octagon/readme.md | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | # Duck Octagon | ||
| 2 | |||
| 3 | Non official firmware for custom Korean keyboard with 75% key layout made by Duck. | ||
| 4 | |||
| 5 | See [build environment setup](https://docs.qmk.fm/build_environment_setup.html) then the [make instructions](https://docs.qmk.fm/make_instructions.html) for more information. | ||
| 6 | |||
| 7 | Make example for this keyboard (after setting up your build environment): | ||
| 8 | |||
| 9 | make octagon/v2:default | ||
diff --git a/keyboards/octagon/rules.mk b/keyboards/octagon/rules.mk new file mode 100644 index 000000000..ce04362e6 --- /dev/null +++ b/keyboards/octagon/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| DEFAULT_FOLDER = octagon/v2 \ No newline at end of file | |||
diff --git a/keyboards/octagon_v2/config.h b/keyboards/octagon/v2/config.h index c916a30a1..c916a30a1 100644 --- a/keyboards/octagon_v2/config.h +++ b/keyboards/octagon/v2/config.h | |||
diff --git a/keyboards/octagon_v2/indicator_leds.c b/keyboards/octagon/v2/indicator_leds.c index c24509f51..c24509f51 100644 --- a/keyboards/octagon_v2/indicator_leds.c +++ b/keyboards/octagon/v2/indicator_leds.c | |||
diff --git a/keyboards/octagon_v2/indicator_leds.h b/keyboards/octagon/v2/indicator_leds.h index 9bb2c8ced..9bb2c8ced 100644 --- a/keyboards/octagon_v2/indicator_leds.h +++ b/keyboards/octagon/v2/indicator_leds.h | |||
diff --git a/keyboards/octagon_v2/matrix.c b/keyboards/octagon/v2/matrix.c index e113e5077..e113e5077 100644 --- a/keyboards/octagon_v2/matrix.c +++ b/keyboards/octagon/v2/matrix.c | |||
diff --git a/keyboards/octagon_v2/readme.md b/keyboards/octagon/v2/readme.md index 37783c84c..125f09f9c 100644 --- a/keyboards/octagon_v2/readme.md +++ b/keyboards/octagon/v2/readme.md | |||
| @@ -9,7 +9,7 @@ Hardware Availability: Wait until GB of the next revision | |||
| 9 | 9 | ||
| 10 | Make example for this keyboard (after setting up your build environment): | 10 | Make example for this keyboard (after setting up your build environment): |
| 11 | 11 | ||
| 12 | make octagon_v2:default | 12 | make octagon/v2:default |
| 13 | 13 | ||
| 14 | See [build environment setup](https://docs.qmk.fm/build_environment_setup.html) then the [make instructions](https://docs.qmk.fm/make_instructions.html) for more information. | 14 | See [build environment setup](https://docs.qmk.fm/build_environment_setup.html) then the [make instructions](https://docs.qmk.fm/make_instructions.html) for more information. |
| 15 | 15 | ||
| @@ -25,4 +25,4 @@ The Duck Octagon V2 PCB consists of: | |||
| 25 | ## Notes | 25 | ## Notes |
| 26 | Thanks to Ralf Schmitt for previous implementations in his [TMK fork](https://github.com/xauser/tmk_keyboard/tree/xauser/) and few helping words. | 26 | Thanks to Ralf Schmitt for previous implementations in his [TMK fork](https://github.com/xauser/tmk_keyboard/tree/xauser/) and few helping words. |
| 27 | 27 | ||
| 28 | Based heavily on Rasmus Schults [Duck Lightsaver QMK Port](https://github.com/qmk/qmk_firmware/tree/master/keyboards/lightsaver) \ No newline at end of file | 28 | Based heavily on Rasmus Schults [Duck Lightsaver QMK Port](https://github.com/qmk/qmk_firmware/tree/master/keyboards/lightsaver) |
diff --git a/keyboards/octagon_v2/rules.mk b/keyboards/octagon/v2/rules.mk index d95dbd960..d95dbd960 100644 --- a/keyboards/octagon_v2/rules.mk +++ b/keyboards/octagon/v2/rules.mk | |||
diff --git a/keyboards/octagon_v2/octagon_v2.c b/keyboards/octagon/v2/v2.c index 05c12c527..52653b37e 100644 --- a/keyboards/octagon_v2/octagon_v2.c +++ b/keyboards/octagon/v2/v2.c | |||
| @@ -13,7 +13,7 @@ | |||
| 13 | * You should have received a copy of the GNU General Public License | 13 | * You should have received a copy of the GNU General Public License |
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | */ | 15 | */ |
| 16 | #include "octagon_v2.h" | 16 | #include "v2.h" |
| 17 | #include "indicator_leds.h" | 17 | #include "indicator_leds.h" |
| 18 | 18 | ||
| 19 | enum BACKLIGHT_AREAS { | 19 | enum BACKLIGHT_AREAS { |
diff --git a/keyboards/octagon_v2/octagon_v2.h b/keyboards/octagon/v2/v2.h index 64d2d0169..7ad9f3826 100644 --- a/keyboards/octagon_v2/octagon_v2.h +++ b/keyboards/octagon/v2/v2.h | |||
| @@ -13,10 +13,10 @@ | |||
| 13 | * You should have received a copy of the GNU General Public License | 13 | * You should have received a copy of the GNU General Public License |
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | */ | 15 | */ |
| 16 | #ifndef OCTAGON_V2_H | 16 | #ifndef V2_H |
| 17 | #define OCTAGON_V2_H | 17 | #define V2_H |
| 18 | 18 | ||
| 19 | #include "quantum.h" | 19 | #include "../octagon.h" |
| 20 | 20 | ||
| 21 | #define KEYMAP( \ | 21 | #define KEYMAP( \ |
| 22 | K5A, K5B, K5C, K5D, K5E, K5F, K5G, K5H, K5I, K5J, K5K, K5L, K5M, K5N, K5O, K5Q, \ | 22 | K5A, K5B, K5C, K5D, K5E, K5F, K5G, K5H, K5I, K5J, K5K, K5L, K5M, K5N, K5O, K5Q, \ |
