diff options
| -rw-r--r-- | keyboards/shambles/config.h | 43 | ||||
| -rw-r--r-- | keyboards/shambles/info.json | 13 | ||||
| -rw-r--r-- | keyboards/shambles/keymaps/default/keymap.c | 10 | ||||
| -rw-r--r-- | keyboards/shambles/readme.md | 15 | ||||
| -rw-r--r-- | keyboards/shambles/rules.mk | 32 | ||||
| -rw-r--r-- | keyboards/shambles/shambles.c | 1 | ||||
| -rw-r--r-- | keyboards/shambles/shambles.h | 15 |
7 files changed, 129 insertions, 0 deletions
diff --git a/keyboards/shambles/config.h b/keyboards/shambles/config.h new file mode 100644 index 000000000..7714e4e6b --- /dev/null +++ b/keyboards/shambles/config.h | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include "config_common.h" | ||
| 4 | |||
| 5 | /* USB Device descriptor parameter */ | ||
| 6 | #define VENDOR_ID 0xFEED | ||
| 7 | #define PRODUCT_ID 0x4F42 | ||
| 8 | #define DEVICE_VER 0x0001 | ||
| 9 | #define MANUFACTURER OsciX | ||
| 10 | #define PRODUCT Shambles TKL | ||
| 11 | #define DESCRIPTION A minimalist keyboard with extra tenkeyless keys. | ||
| 12 | |||
| 13 | /* key matrix size */ | ||
| 14 | #define MATRIX_ROWS 4 | ||
| 15 | #define MATRIX_COLS 13 | ||
| 16 | |||
| 17 | /* key matrix pins */ | ||
| 18 | #define MATRIX_ROW_PINS { F5, B3, B1, F7 } | ||
| 19 | #define MATRIX_COL_PINS { D3, D1, D0, D4, C6, D7, E6, B4, B5, B6, B2, F4, F6 } | ||
| 20 | #define UNUSED_PINS | ||
| 21 | |||
| 22 | /* COL2ROW or ROW2COL */ | ||
| 23 | #define DIODE_DIRECTION COL2ROW | ||
| 24 | |||
| 25 | /* Set 0 if debouncing isn't needed */ | ||
| 26 | #define DEBOUNCE 5 | ||
| 27 | |||
| 28 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 29 | #define LOCKING_SUPPORT_ENABLE | ||
| 30 | |||
| 31 | /* Locking resynchronize hack */ | ||
| 32 | #define LOCKING_RESYNC_ENABLE | ||
| 33 | |||
| 34 | /* key combination for command */ | ||
| 35 | |||
| 36 | |||
| 37 | #ifdef RGB_DI_PIN | ||
| 38 | # define RGBLIGHT_ANIMATIONS | ||
| 39 | # define RGBLED_NUM 0 | ||
| 40 | # define RGBLIGHT_HUE_STEP 8 | ||
| 41 | # define RGBLIGHT_SAT_STEP 8 | ||
| 42 | # define RGBLIGHT_VAL_STEP 8 | ||
| 43 | #endif | ||
diff --git a/keyboards/shambles/info.json b/keyboards/shambles/info.json new file mode 100644 index 000000000..1f031cf7d --- /dev/null +++ b/keyboards/shambles/info.json | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "Shambles TKL", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "OsciX", | ||
| 5 | "width": 13.25, | ||
| 6 | "height": 4.5, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT": { | ||
| 9 | "key_count": 47, | ||
| 10 | "layout": [{"label":"K00", "x":0, "y":0}, {"label":"K01", "x":1.5, "y":0}, {"label":"K02", "x":2.5, "y":0}, {"label":"K03", "x":3.5, "y":0}, {"label":"K04", "x":4.75, "y":0}, {"label":"K05", "x":5.75, "y":0}, {"label":"K06", "x":6.75, "y":0}, {"label":"K07", "x":8, "y":0}, {"label":"K08", "x":9, "y":0}, {"label":"K09", "x":10.25, "y":0}, {"label":"K10", "x":11.25, "y":0}, {"label":"K11", "x":12.25, "y":0}, {"label":"K12", "x":0, "y":1.5}, {"label":"K13", "x":1, "y":1.5}, {"label":"K14", "x":2, "y":1.5}, {"label":"K15", "x":3, "y":1.5}, {"label":"K16", "x":4, "y":1.5}, {"label":"K17", "x":5, "y":1.5}, {"label":"K18", "x":6, "y":1.5}, {"label":"K19", "x":7, "y":1.5}, {"label":"K20", "x":8, "y":1.5}, {"label":"K21", "x":9, "y":1.5}, {"label":"K22", "x":10.25, "y":1.25}, {"label":"K23", "x":11.25, "y":1.25}, {"label":"K24", "x":12.25, "y":1.25}, {"label":"K25", "x":0, "y":2.5}, {"label":"K26", "x":1, "y":2.5}, {"label":"K27", "x":2, "y":2.5}, {"label":"K28", "x":3, "y":2.5}, {"label":"K29", "x":4, "y":2.5}, {"label":"K30", "x":5, "y":2.5}, {"label":"K31", "x":6, "y":2.5}, {"label":"K32", "x":7, "y":2.5}, {"label":"K33", "x":8, "y":2.5}, {"label":"K34", "x":9, "y":2.5}, {"label":"K35", "x":11.25, "y":2.5}, {"label":"K36", "x":0.5, "y":3.5}, {"label":"K37", "x":1.5, "y":3.5}, {"label":"K38", "x":2.5, "y":3.5}, {"label":"K39", "x":3.5, "y":3.5}, {"label":"K40", "x":4.5, "y":3.5, "w":2}, {"label":"K41", "x":6.5, "y":3.5}, {"label":"K42", "x":7.5, "y":3.5}, {"label":"K43", "x":8.5, "y":3.5}, {"label":"K44", "x":10.25, "y":3.5}, {"label":"K45", "x":11.25, "y":3.5}, {"label":"K43", "x":12.25, "y":3.5}] | ||
| 11 | } | ||
| 12 | } | ||
| 13 | } | ||
diff --git a/keyboards/shambles/keymaps/default/keymap.c b/keyboards/shambles/keymaps/default/keymap.c new file mode 100644 index 000000000..6a076f709 --- /dev/null +++ b/keyboards/shambles/keymaps/default/keymap.c | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | #include "shambles.h" | ||
| 2 | |||
| 3 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 4 | |||
| 5 | LAYOUT( | ||
| 6 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, | ||
| 7 | KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_ENT, KC_RCTL, KC_RALT, | ||
| 8 | KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_RSFT, KC_UP, | ||
| 9 | KC_Z, KC_X, KC_C, KC_V, KC_SPC, KC_B, KC_N, KC_M, KC_LEFT, KC_DOWN, KC_RGHT) | ||
| 10 | }; | ||
diff --git a/keyboards/shambles/readme.md b/keyboards/shambles/readme.md new file mode 100644 index 000000000..1b80263c6 --- /dev/null +++ b/keyboards/shambles/readme.md | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | # Shambles | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | An Alpha28, with a numpad and nav cluster | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [OsciX](https://github.com/OsciX) | ||
| 8 | * Hardware Supported: Shambles | ||
| 9 | * Hardware Availability: [OsciX/shambles_qmk](https://github.com/OsciX/shambles_qmk) | ||
| 10 | |||
| 11 | Make example for this keyboard (after setting up your build environment): | ||
| 12 | |||
| 13 | make shambles:default | ||
| 14 | |||
| 15 | See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). | ||
diff --git a/keyboards/shambles/rules.mk b/keyboards/shambles/rules.mk new file mode 100644 index 000000000..d029ee528 --- /dev/null +++ b/keyboards/shambles/rules.mk | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | # Teensy halfkay | ||
| 6 | # Pro Micro caterina | ||
| 7 | # Atmel DFU atmel-dfu | ||
| 8 | # LUFA DFU lufa-dfu | ||
| 9 | # QMK DFU qmk-dfu | ||
| 10 | # ATmega32A bootloadHID | ||
| 11 | # ATmega328P USBasp | ||
| 12 | BOOTLOADER = atmel-dfu | ||
| 13 | |||
| 14 | # Build Options | ||
| 15 | # change yes to no to disable | ||
| 16 | # | ||
| 17 | BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration | ||
| 18 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
| 19 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 20 | CONSOLE_ENABLE = no # Console for debug | ||
| 21 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 22 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 23 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 24 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 25 | NKRO_ENABLE = yes # USB Nkey Rollover | ||
| 26 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 27 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
| 28 | MIDI_ENABLE = no # MIDI support | ||
| 29 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 30 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 31 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | ||
| 32 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs | ||
diff --git a/keyboards/shambles/shambles.c b/keyboards/shambles/shambles.c new file mode 100644 index 000000000..b0ef6b8f9 --- /dev/null +++ b/keyboards/shambles/shambles.c | |||
| @@ -0,0 +1 @@ | |||
| #include "shambles.h" | |||
diff --git a/keyboards/shambles/shambles.h b/keyboards/shambles/shambles.h new file mode 100644 index 000000000..5fb13b635 --- /dev/null +++ b/keyboards/shambles/shambles.h | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include "quantum.h" | ||
| 4 | |||
| 5 | #define LAYOUT( \ | ||
| 6 | K000, K001, K002, K003, K005, K006, K007, K008, K009, K010, K011, K012, \ | ||
| 7 | K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, \ | ||
| 8 | K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K211, \ | ||
| 9 | K300, K301, K302, K303, K305, K306, K307, K308, K310, K311, K312 \ | ||
| 10 | ) { \ | ||
| 11 | { K000, K001, K002, K003, KC_NO, K005, K006, K007, K008, K009, K010, K011, K012 }, \ | ||
| 12 | { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112 }, \ | ||
| 13 | { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, KC_NO, K211, KC_NO }, \ | ||
| 14 | { K300, K301, K302, K303, KC_NO, K305, K306, K307, K308, KC_NO, K310, K311, K312 } \ | ||
| 15 | } | ||
