1
0
Fork 0

Keyboards: Move the other Sentraq keyboards into the sentraq vendor directory (#5052)

* Moving sentraq keyboards to sentraq subdirectory.

* Updating readme markdown to correct make commands.

* Updating s60_x references to point to the new vendor subdirectory.

* Fixed stripped spaces in markdown.

* Updated help information in s60_x readme and linked to additional documentation.
This commit is contained in:
Nicholas Shaff 2019-02-05 08:36:49 -06:00 committed by MechMerlin
parent 3352677820
commit 9b232a7f88
78 changed files with 9 additions and 9 deletions

View file

@ -0,0 +1,47 @@
#ifndef CONFIG_H
#define CONFIG_H
#include "config_common.h"
/* USB Device descriptor parameter */
#define PRODUCT S65-PLUS
#define DESCRIPTION q.m.k. keyboard firmware for S65-PLUS
#define VENDOR_ID 0xFEED
#define PRODUCT_ID 0x6060
#define DEVICE_VER 0x0001
#define MANUFACTURER Sentraq
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 18
/* key matrix pins */
#define MATRIX_ROW_PINS { C7, C6, B6, B5, B4 }
#define MATRIX_COL_PINS { F6, F5, F4, F1, F0, E6, B0, B1, D5, B2, B3, D0, D1, D2, D4, D6, D7, F7 }
#define UNUSED_PINS
/* number of backlight levels */
#define BACKLIGHT_PIN B7
#define BACKLIGHT_LEVELS 3
#define RGB_DI_PIN D3
#define RGBLIGHT_ANIMATIONS
#define RGBLED_NUM 20
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
#define RGBLIGHT_EFFECT_KNIGHT_OFFSET 20
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCING_DELAY 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
#endif

View file

@ -0,0 +1,176 @@
{
"keyboard_name": "S65-Plus",
"url": "",
"maintainer": "qmk",
"width": 18,
"height": 5,
"layouts": {
"LAYOUT_ansi": {
"key_count": 78,
"layout": [
{"label":"F1", "x":0, "y":0},
{"label":"F2", "x":1, "y":0},
{"label":"ESC", "x":2, "y":0},
{"label":"1", "x":3, "y":0},
{"label":"2", "x":4, "y":0},
{"label":"3", "x":5, "y":0},
{"label":"4", "x":6, "y":0},
{"label":"5", "x":7, "y":0},
{"label":"6", "x":8, "y":0},
{"label":"7", "x":9, "y":0},
{"label":"8", "x":10, "y":0},
{"label":"9", "x":11, "y":0},
{"label":"0", "x":12, "y":0},
{"label":"MINUS", "x":13, "y":0},
{"label":"EQUAL", "x":14, "y":0},
{"label":"BACKSPACE", "x":15, "y":0, "w":2},
{"label":"DELETE", "x":17, "y":0},
{"label":"F3", "x":0, "y":1},
{"label":"F4", "x":1, "y":1},
{"label":"TAB", "x":2, "y":1, "w":1.5},
{"label":"Q", "x":3.5, "y":1},
{"label":"W", "x":4.5, "y":1},
{"label":"E", "x":5.5, "y":1},
{"label":"R", "x":6.5, "y":1},
{"label":"T", "x":7.5, "y":1},
{"label":"Y", "x":8.5, "y":1},
{"label":"U", "x":9.5, "y":1},
{"label":"I", "x":10.5, "y":1},
{"label":"O", "x":11.5, "y":1},
{"label":"P", "x":12.5, "y":1},
{"label":"LBRACKET", "x":13.5, "y":1},
{"label":"RBRACKET", "x":14.5, "y":1},
{"label":"BACKSLASH", "x":15.5, "y":1, "w":1.5},
{"label":"PAGEUP", "x":17, "y":1},
{"label":"F5", "x":0, "y":2},
{"label":"F6", "x":1, "y":2},
{"label":"CAPSLOCK", "x":2, "y":2, "w":1.75},
{"label":"A", "x":3.75, "y":2},
{"label":"S", "x":4.75, "y":2},
{"label":"D", "x":5.75, "y":2},
{"label":"F", "x":6.75, "y":2},
{"label":"G", "x":7.75, "y":2},
{"label":"H", "x":8.75, "y":2},
{"label":"J", "x":9.75, "y":2},
{"label":"K", "x":10.75, "y":2},
{"label":"L", "x":11.75, "y":2},
{"label":"SEMICOLON", "x":12.75, "y":2},
{"label":"QUOTE", "x":13.75, "y":2},
{"label":"ENTER", "x":14.75, "y":2, "w":2.25},
{"label":"PAGEDOWN", "x":17, "y":2},
{"label":"F7", "x":0, "y":3},
{"label":"F8", "x":1, "y":3},
{"label":"LSHIFT", "x":2, "y":3, "w":2.25},
{"label":"Z", "x":4.25, "y":3},
{"label":"X", "x":5.25, "y":3},
{"label":"C", "x":6.25, "y":3},
{"label":"V", "x":7.25, "y":3},
{"label":"B", "x":8.25, "y":3},
{"label":"N", "x":9.25, "y":3},
{"label":"M", "x":10.25, "y":3},
{"label":"COMMA", "x":11.25, "y":3},
{"label":"PERIOD", "x":12.25, "y":3},
{"label":"SLASH", "x":13.25, "y":3},
{"label":"RSHIFT", "x":14.25, "y":3, "w":1.75},
{"label":"UP", "x":16, "y":3},
{"label":"END", "x":17, "y":3},
{"label":"F9", "x":0, "y":4},
{"label":"F10", "x":1, "y":4},
{"label":"LCTRL", "x":2, "y":4, "w":1.25},
{"label":"LGUI", "x":3.25, "y":4, "w":1.25},
{"label":"LALT", "x":4.5, "y":4, "w":1.25},
{"label":"SPACE", "x":5.75, "y":4, "w":6.25},
{"label":"RALT", "x":12, "y":4},
{"label":"FN", "x":13, "y":4},
{"label":"RCTRL", "x":14, "y":4},
{"label":"LEFT", "x":15, "y":4},
{"label":"DOWN", "x":16, "y":4},
{"label":"RIGHT", "x":17, "y":4}
]
},
"LAYOUT_iso": {
"key_count": 79,
"layout": [
{"label":"F1", "x":0, "y":0},
{"label":"F2", "x":1, "y":0},
{"label":"ESC", "x":2, "y":0},
{"label":"1", "x":3, "y":0},
{"label":"2", "x":4, "y":0},
{"label":"3", "x":5, "y":0},
{"label":"4", "x":6, "y":0},
{"label":"5", "x":7, "y":0},
{"label":"6", "x":8, "y":0},
{"label":"7", "x":9, "y":0},
{"label":"8", "x":10, "y":0},
{"label":"9", "x":11, "y":0},
{"label":"0", "x":12, "y":0},
{"label":"MINUS", "x":13, "y":0},
{"label":"EQUAL", "x":14, "y":0},
{"label":"BACKSPACE", "x":15, "y":0, "w":2},
{"label":"DELETE", "x":17, "y":0},
{"label":"F3", "x":0, "y":1},
{"label":"F4", "x":1, "y":1},
{"label":"TAB", "x":2, "y":1, "w":1.5},
{"label":"Q", "x":3.5, "y":1},
{"label":"W", "x":4.5, "y":1},
{"label":"E", "x":5.5, "y":1},
{"label":"R", "x":6.5, "y":1},
{"label":"T", "x":7.5, "y":1},
{"label":"Y", "x":8.5, "y":1},
{"label":"U", "x":9.5, "y":1},
{"label":"I", "x":10.5, "y":1},
{"label":"O", "x":11.5, "y":1},
{"label":"P", "x":12.5, "y":1},
{"label":"LBRACKET", "x":13.5, "y":1},
{"label":"RBRACKET", "x":14.5, "y":1},
{"label":"PAGEUP", "x":17, "y":1},
{"label":"F5", "x":0, "y":2},
{"label":"F6", "x":1, "y":2},
{"label":"CAPSLOCK", "x":2, "y":2, "w":1.75},
{"label":"A", "x":3.75, "y":2},
{"label":"S", "x":4.75, "y":2},
{"label":"D", "x":5.75, "y":2},
{"label":"F", "x":6.75, "y":2},
{"label":"G", "x":7.75, "y":2},
{"label":"H", "x":8.75, "y":2},
{"label":"J", "x":9.75, "y":2},
{"label":"K", "x":10.75, "y":2},
{"label":"L", "x":11.75, "y":2},
{"label":"SEMICOLON", "x":12.75, "y":2},
{"label":"QUOTE", "x":13.75, "y":2},
{"label":"ISOHASH", "x":14.75, "y":2},
{"label":"ENTER", "x":15.75, "y":1, "w":1.25, "h":2},
{"label":"PAGEDOWN", "x":17, "y":2},
{"label":"F7", "x":0, "y":3},
{"label":"F8", "x":1, "y":3},
{"label":"LSHIFT", "x":2, "y":3, "w":1.25},
{"label":"ISOBACKSLASH", "x":3.25, "y":3},
{"label":"Z", "x":4.25, "y":3},
{"label":"X", "x":5.25, "y":3},
{"label":"C", "x":6.25, "y":3},
{"label":"V", "x":7.25, "y":3},
{"label":"B", "x":8.25, "y":3},
{"label":"N", "x":9.25, "y":3},
{"label":"M", "x":10.25, "y":3},
{"label":"COMMA", "x":11.25, "y":3},
{"label":"PERIOD", "x":12.25, "y":3},
{"label":"SLASH", "x":13.25, "y":3},
{"label":"RSHIFT", "x":14.25, "y":3, "w":1.75},
{"label":"UP", "x":16, "y":3},
{"label":"END", "x":17, "y":3},
{"label":"F9", "x":0, "y":4},
{"label":"F10", "x":1, "y":4},
{"label":"LCTRL", "x":2, "y":4, "w":1.25},
{"label":"LGUI", "x":3.25, "y":4, "w":1.25},
{"label":"LALT", "x":4.5, "y":4, "w":1.25},
{"label":"SPACE", "x":5.75, "y":4, "w":6.25},
{"label":"RALT", "x":12, "y":4},
{"label":"FN", "x":13, "y":4},
{"label":"RCTRL", "x":14, "y":4},
{"label":"LEFT", "x":15, "y":4},
{"label":"DOWN", "x":16, "y":4},
{"label":"RIGHT", "x":17, "y":4}
]
}
}
}

View file

@ -0,0 +1,56 @@
#include QMK_KEYBOARD_H
#define _BL 0
#define _AL 1
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* 0: Main layer
*
* F1 F2 Esc1 !2 "│3 £│4 $│5 %│6 ^│7 &│8 *│9 (│0 )│- _│= +│Bksp │Del│
*
* F3 F4 Tab Q W E R T Y U I O P [ {] }\ | End
*
* F5 F6 CapsLk A S D F G H J K L ; :' "│Enter │PUp│
*
* F7 F8 Shift Z X C V B N M , <. >/ ?Shift Up PDn
*
* F9 F10CtrlGUI Alt Space AltFn CtlLftDwnRgt
*
*/
/* 0: ANSI qwerty */
[_BL] = LAYOUT_ansi(
KC_F1, KC_F2, KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, \
KC_F3, KC_F4, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, \
KC_F5, KC_F6, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, \
KC_F7, KC_F8, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END, \
KC_F9, KC_F10, KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(_AL), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT \
),
/* 1: LED layer
*
* RST BLTog BSt
*
*
*
*
*
* RTgRMdRH+RH-RS+RS-RV+RV- VUp
*
* PrvVDnNxt
*
*/
[_AL] = LAYOUT_ansi(
_______, _______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, BL_TOGG, BL_STEP, \
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
_______, _______, _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, _______, KC_VOLU, _______, \
_______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPRV, KC_VOLD, KC_MNXT \
)
};
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
return true;
}

View file

@ -0,0 +1,56 @@
#include QMK_KEYBOARD_H
#define _BL 0
#define _AL 1
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* 0: Main layer
*
* F1 F2 Esc1 !2 "│3 £│4 $│5 %│6 ^│7 &│8 *│9 (│0 )│- _│= +│Bksp │Del│
*
* F3 F4 Tab Q W E R T Y U I O P [ {] }EnterEnd
*
* F5 F6 CapsLk A S D F G H J K L ; :' @# ~ PUp
*
* F7 F8 Sft \ | Z X C V B N M , <. >/ ?Shift Up PDn
*
* F9 F10CtrlGUI Alt Space AltFn CtlLftDwnRgt
*
*/
/* 0: ISO qwerty */
[_BL] = LAYOUT_iso(
KC_F1, KC_F2, KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, \
KC_F3, KC_F4, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_PGUP, \
KC_F5, KC_F6, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_PGDN, \
KC_F7, KC_F8, KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END, \
KC_F9, KC_F10, KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(_AL), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT \
),
/* 1: LED layer
*
* RST BLTog BSt
*
*
*
*
*
* RTgRMdRH+RH-RS+RS-RV+RV- VUp
*
* PrvVDnNxt
*
*/
[_AL] = LAYOUT_iso(
_______, _______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, BL_TOGG, BL_STEP, \
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
_______, _______, _______, _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, _______, KC_VOLU, _______, \
_______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPRV, KC_VOLD, KC_MNXT \
)
};
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
return true;
}

View file

@ -0,0 +1,3 @@
# iso
An ISO layout version of the default keymap.

View file

@ -0,0 +1,14 @@
S65-PLUS
=====
DIY 65% keyboard from Sentraq.
Keyboard Maintainer: QMK Community
Hardware Supported: S65-PLUS PCB
Hardware Availability: [Sentraq](https://sentraq.com/collections/kits/products/s65-plus-diy-keyboard-kit)
Make example for this keyboard (after setting up your build environment):
make sentraq/s65_plus:default
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).

View file

@ -0,0 +1,66 @@
# MCU name
MCU = atmega32u4
# Processor frequency.
# This will define a symbol, F_CPU, in all source code files equal to the
# processor frequency in Hz. You can then use this symbol in your source code to
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# This will be an integer division of F_USB below, as it is sourced by
# F_USB after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
F_CPU = 16000000
#
# LUFA specific
#
# Target architecture (see library "Board Types" documentation).
ARCH = AVR8
# Input clock frequency.
# This will define a symbol, F_USB, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
# at the end, this will be done automatically to create a 32-bit value in your
# source code.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
F_USB = $(F_CPU)
# Interrupt driven control endpoint task(+60)
OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
# Boot Section Size in *bytes*
# Teensy halfKay 512
# Teensy++ halfKay 1024
# Atmel DFU loader 4096
# LUFA bootloader 4096
# USBaspLoader 2048
OPT_DEFS += -DBOOTLOADER_SIZE=4096
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000)
MOUSEKEY_ENABLE = no # Mouse keys(+4700)
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
MIDI_ENABLE = no # MIDI controls
UNICODE_ENABLE = no # Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
AUDIO_ENABLE = no # Audio output on port C6
NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable RGB light

View file

@ -0,0 +1,24 @@
#include "s65_plus.h"
#include "led.h"
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 led_set_kb(uint8_t usb_led) {
if (usb_led & (1<<USB_LED_CAPS_LOCK)) {
// Turn capslock on
PORTB &= ~(1<<7);
} else {
// Turn capslock off
PORTB |= (1<<7);
}
}

View file

@ -0,0 +1,34 @@
#pragma once
#include "quantum.h"
#define LAYOUT_ansi( \
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K016, K017, \
K100, K101, K102, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, K116, K117, \
K200, K201, K202, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214, K216, K217, \
K300, K301, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K315, K316, K317, \
K400, K401, K402, K403, K404, K408, K412, K413, K414, K415, K416, K417 \
) { \
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, KC_NO, K016, K017 }, \
{ K100, K101, K102, KC_NO, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, K116, K117 }, \
{ K200, K201, K202, KC_NO, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214, KC_NO, K216, K217 }, \
{ K300, K301, KC_NO, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, KC_NO, K315, K316, K317 }, \
{ K400, K401, K402, K403, K404, KC_NO, KC_NO, KC_NO, K408, KC_NO, KC_NO, KC_NO, K412, K413, K414, K415, K416, K417 } \
}
#define LAYOUT_iso( \
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K016, K017, \
K100, K101, K102, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, K117, \
K200, K201, K202, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214, K215, K116, K217, \
K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K315, K316, K317, \
K400, K401, K402, K403, K404, K408, K412, K413, K414, K415, K416, K417 \
) { \
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, KC_NO, K016, K017 }, \
{ K100, K101, K102, KC_NO, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, K116, K117 }, \
{ K200, K201, K202, KC_NO, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214, K215, KC_NO, K217 }, \
{ K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, KC_NO, K315, K316, K317 }, \
{ K400, K401, K402, K403, K404, KC_NO, KC_NO, KC_NO, K408, KC_NO, KC_NO, KC_NO, K412, K413, K414, K415, K416, K417 } \
}
void matrix_init_user(void);
void matrix_scan_user(void);