diff options
Diffstat (limited to 'keyboards/s60_x')
| -rw-r--r-- | keyboards/s60_x/default/config.h | 2 | ||||
| -rw-r--r-- | keyboards/s60_x/keymaps/bluebear/config.h | 29 | ||||
| -rw-r--r-- | keyboards/s60_x/keymaps/bluebear/rules.mk | 6 | ||||
| -rw-r--r-- | keyboards/s60_x/readme.md | 2 | ||||
| -rw-r--r-- | keyboards/s60_x/rgb/config.h | 2 | ||||
| -rw-r--r-- | keyboards/s60_x/rules.mk | 4 | ||||
| -rw-r--r-- | keyboards/s60_x/s60_x.h | 4 | ||||
| -rw-r--r-- | keyboards/s60_x/subproject.mk | 1 |
8 files changed, 15 insertions, 35 deletions
diff --git a/keyboards/s60_x/default/config.h b/keyboards/s60_x/default/config.h index 436c6fa8b..25fc4ad2e 100644 --- a/keyboards/s60_x/default/config.h +++ b/keyboards/s60_x/default/config.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | #ifndef DEFAULT_CONFIG_H | 1 | #ifndef DEFAULT_CONFIG_H |
| 2 | #define DEFAULT_CONFIG_H | 2 | #define DEFAULT_CONFIG_H |
| 3 | 3 | ||
| 4 | #include "../config.h" | 4 | #include "config_common.h" |
| 5 | 5 | ||
| 6 | #define PRODUCT S60-X | 6 | #define PRODUCT S60-X |
| 7 | #define DESCRIPTION q.m.k. keyboard firmware for S60-X | 7 | #define DESCRIPTION q.m.k. keyboard firmware for S60-X |
diff --git a/keyboards/s60_x/keymaps/bluebear/config.h b/keyboards/s60_x/keymaps/bluebear/config.h index 5c0d08833..35754b523 100644 --- a/keyboards/s60_x/keymaps/bluebear/config.h +++ b/keyboards/s60_x/keymaps/bluebear/config.h | |||
| @@ -15,30 +15,14 @@ You should have received a copy of the GNU General Public License | |||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 16 | */ | 16 | */ |
| 17 | 17 | ||
| 18 | #ifndef CONFIG_H | 18 | #ifndef CONFIG_USER_H |
| 19 | #define CONFIG_H | 19 | #define CONFIG_USER_H |
| 20 | 20 | ||
| 21 | #include "config_common.h" | 21 | #include "config_common.h" |
| 22 | 22 | ||
| 23 | /* USB Device descriptor parameter */ | 23 | /* USB Device descriptor parameter */ |
| 24 | #define VENDOR_ID 0xFEED | 24 | #undef DEVICE_VER |
| 25 | #define PRODUCT_ID 0x6060 | ||
| 26 | #define DEVICE_VER 0x0003 | 25 | #define DEVICE_VER 0x0003 |
| 27 | #define MANUFACTURER Sentraq | ||
| 28 | #define PRODUCT S60-RGB | ||
| 29 | #define DESCRIPTION QMK keyboard firmware for Sentraq S60-RGB | ||
| 30 | |||
| 31 | /* key matrix size */ | ||
| 32 | #define MATRIX_ROWS 5 | ||
| 33 | #define MATRIX_COLS 15 | ||
| 34 | |||
| 35 | // ROWS: Top to bottom, COLS: Left to right | ||
| 36 | |||
| 37 | #define MATRIX_ROW_PINS { B5, B4, D7, D6, D4 } | ||
| 38 | #define MATRIX_COL_PINS { D0, D1, D2, D3, D5, B6, C6, C7, F1, F0, E6, B3, B2, B1, B0 } | ||
| 39 | #define UNUSED_PINS | ||
| 40 | |||
| 41 | #define BACKLIGHT_PIN B7 | ||
| 42 | 26 | ||
| 43 | /* COL2ROW or ROW2COL */ | 27 | /* COL2ROW or ROW2COL */ |
| 44 | #define DIODE_DIRECTION COL2ROW | 28 | #define DIODE_DIRECTION COL2ROW |
| @@ -65,10 +49,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 65 | 49 | ||
| 66 | /* Underlight configuration | 50 | /* Underlight configuration |
| 67 | */ | 51 | */ |
| 68 | 52 | #undef RGBLIGHT_HUE_STEP | |
| 69 | #define RGB_DI_PIN F6 | 53 | #undef RGBLIGHT_SAT_STEP |
| 70 | #define RGBLIGHT_TIMER | 54 | #undef RGBLIGHT_VAL_STEP |
| 71 | #define RGBLED_NUM 10 // Number of LEDs | ||
| 72 | #define RGBLIGHT_HUE_STEP 10 | 55 | #define RGBLIGHT_HUE_STEP 10 |
| 73 | #define RGBLIGHT_SAT_STEP 17 | 56 | #define RGBLIGHT_SAT_STEP 17 |
| 74 | #define RGBLIGHT_VAL_STEP 17 | 57 | #define RGBLIGHT_VAL_STEP 17 |
diff --git a/keyboards/s60_x/keymaps/bluebear/rules.mk b/keyboards/s60_x/keymaps/bluebear/rules.mk index dfefad39d..78d770d26 100644 --- a/keyboards/s60_x/keymaps/bluebear/rules.mk +++ b/keyboards/s60_x/keymaps/bluebear/rules.mk | |||
| @@ -11,8 +11,4 @@ UNICODE_ENABLE = no # Unicode | |||
| 11 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | 11 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID |
| 12 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. | 12 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. |
| 13 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 13 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 14 | TAP_DANCE_ENABLE = no # Enable tap dancing keys | 14 | TAP_DANCE_ENABLE = no # Enable tap dancing keys \ No newline at end of file |
| 15 | |||
| 16 | ifndef QUANTUM_DIR | ||
| 17 | include ../../../../Makefile | ||
| 18 | endif | ||
diff --git a/keyboards/s60_x/readme.md b/keyboards/s60_x/readme.md index 9e1d06150..cd7049536 100644 --- a/keyboards/s60_x/readme.md +++ b/keyboards/s60_x/readme.md | |||
| @@ -8,6 +8,6 @@ Hardware Availability: https://www.massdrop.com/buy/sentraq-60-diy-keyboard-kit? | |||
| 8 | 8 | ||
| 9 | Make example for this keyboard (after setting up your build environment): | 9 | Make example for this keyboard (after setting up your build environment): |
| 10 | 10 | ||
| 11 | make s60_x-default | 11 | make s60_x:default |
| 12 | 12 | ||
| 13 | 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. | 13 | 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. |
diff --git a/keyboards/s60_x/rgb/config.h b/keyboards/s60_x/rgb/config.h index 81efc87d5..ec8b0f49e 100644 --- a/keyboards/s60_x/rgb/config.h +++ b/keyboards/s60_x/rgb/config.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | #ifndef RBG_CONFIG_H | 1 | #ifndef RBG_CONFIG_H |
| 2 | #define RBG_CONFIG_H | 2 | #define RBG_CONFIG_H |
| 3 | 3 | ||
| 4 | #include "../config.h" | 4 | #include "config_common.h" |
| 5 | 5 | ||
| 6 | #define PRODUCT S60-X-RGB | 6 | #define PRODUCT S60-X-RGB |
| 7 | #define DESCRIPTION q.m.k. keyboard firmware for S60-X RGB | 7 | #define DESCRIPTION q.m.k. keyboard firmware for S60-X RGB |
diff --git a/keyboards/s60_x/rules.mk b/keyboards/s60_x/rules.mk index 5d4b28195..57f7a9a59 100644 --- a/keyboards/s60_x/rules.mk +++ b/keyboards/s60_x/rules.mk | |||
| @@ -62,4 +62,6 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | |||
| 62 | MIDI_ENABLE = no # MIDI controls | 62 | MIDI_ENABLE = no # MIDI controls |
| 63 | UNICODE_ENABLE = no # Unicode | 63 | UNICODE_ENABLE = no # Unicode |
| 64 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | 64 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID |
| 65 | AUDIO_ENABLE = no # Audio output on port C6 \ No newline at end of file | 65 | AUDIO_ENABLE = no # Audio output on port C6 |
| 66 | |||
| 67 | DEFAULT_FOLDER = s60_x/default \ No newline at end of file | ||
diff --git a/keyboards/s60_x/s60_x.h b/keyboards/s60_x/s60_x.h index 5bf8cfcef..b70cb5864 100644 --- a/keyboards/s60_x/s60_x.h +++ b/keyboards/s60_x/s60_x.h | |||
| @@ -1,10 +1,10 @@ | |||
| 1 | #ifndef S60X_H | 1 | #ifndef S60X_H |
| 2 | #define S60X_H | 2 | #define S60X_H |
| 3 | 3 | ||
| 4 | #ifdef SUBPROJECT_default | 4 | #ifdef KEYBOARD_s60_x_default |
| 5 | #include "default.h" | 5 | #include "default.h" |
| 6 | #endif | 6 | #endif |
| 7 | #ifdef SUBPROJECT_rgb | 7 | #ifdef KEYBOARD_s60_x_rgb |
| 8 | #include "rgb.h" | 8 | #include "rgb.h" |
| 9 | #endif | 9 | #endif |
| 10 | 10 | ||
diff --git a/keyboards/s60_x/subproject.mk b/keyboards/s60_x/subproject.mk deleted file mode 100644 index c20a317c1..000000000 --- a/keyboards/s60_x/subproject.mk +++ /dev/null | |||
| @@ -1 +0,0 @@ | |||
| 1 | SUBPROJECT_DEFAULT = default | ||
