caps word
This commit is contained in:
parent
6bee9cf604
commit
7897fb7c90
5
keyboards/bastardkb/blacktyl/keymaps/onekey/keymap.c
Normal file
5
keyboards/bastardkb/blacktyl/keymaps/onekey/keymap.c
Normal file
@ -0,0 +1,5 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
LAYOUT_ortho_1x1(KC_A)
|
||||
};
|
@ -9,6 +9,7 @@ BOOTLOADER = stm32-dfu
|
||||
# change yes to no to disable
|
||||
#
|
||||
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
|
||||
CAPS_WORD_ENABLE = yes
|
||||
MOUSEKEY_ENABLE = yes # Mouse keys
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control
|
||||
CONSOLE_ENABLE = yes # Console for debug
|
||||
|
@ -20,7 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define BOTH_SHIFTS_TURNS_ON_CAPS_WORD
|
||||
|
||||
// Pick good defaults for enabling homerow modifiers
|
||||
#define TAPPING_TERM 280
|
||||
#define TAPPING_TERM 230
|
||||
// #define PERMISSIVE_HOLD
|
||||
#define IGNORE_MOD_TAP_INTERRUPT
|
||||
#define TAPPING_FORCE_HOLD
|
||||
|
20
keyboards/blackpill/config.h
Normal file
20
keyboards/blackpill/config.h
Normal file
@ -0,0 +1,20 @@
|
||||
// Copyright 2022 Thomas Haukland (@Thomas Haukland)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
/*
|
||||
* Feature disable options
|
||||
* These options are also useful to firmware size reduction.
|
||||
*/
|
||||
|
||||
/* disable debug print */
|
||||
//#define NO_DEBUG
|
||||
|
||||
/* disable print */
|
||||
//#define NO_PRINT
|
||||
|
||||
/* disable action features */
|
||||
//#define NO_ACTION_LAYER
|
||||
//#define NO_ACTION_TAPPING
|
||||
//#define NO_ACTION_ONESHOT
|
33
keyboards/blackpill/info.json
Normal file
33
keyboards/blackpill/info.json
Normal file
@ -0,0 +1,33 @@
|
||||
{
|
||||
"manufacturer": "Thomas Haukland",
|
||||
"keyboard_name": "blackpill",
|
||||
"maintainer": "Thomas Haukland",
|
||||
"bootloader": "stm32-dfu",
|
||||
"diode_direction": "COL2ROW",
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"command": false,
|
||||
"console": true,
|
||||
"extrakey": true,
|
||||
"mousekey": true,
|
||||
"nkro": true
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["C2"],
|
||||
"rows": ["D1"]
|
||||
},
|
||||
"processor": "STM32F401",
|
||||
"url": "",
|
||||
"usb": {
|
||||
"device_version": "1.0.0",
|
||||
"pid": "0x0000",
|
||||
"vid": "0xFEED"
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT_ortho_1x1": {
|
||||
"layout": [
|
||||
{ "matrix": [0, 0], "x": 0, "y": 0 }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
12
keyboards/blackpill/keymaps/default/keymap.c
Normal file
12
keyboards/blackpill/keymaps/default/keymap.c
Normal file
@ -0,0 +1,12 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/*
|
||||
* ┌───┐
|
||||
* │ A │
|
||||
* └───┘
|
||||
*/
|
||||
[0] = LAYOUT_ortho_1x1(
|
||||
KC_A
|
||||
)
|
||||
};
|
27
keyboards/blackpill/readme.md
Normal file
27
keyboards/blackpill/readme.md
Normal file
@ -0,0 +1,27 @@
|
||||
# blackpill
|
||||
|
||||

|
||||
|
||||
*A short description of the keyboard/project*
|
||||
|
||||
* Keyboard Maintainer: [Thomas Haukland](https://github.com/Thomas Haukland)
|
||||
* Hardware Supported: *The PCBs, controllers supported*
|
||||
* Hardware Availability: *Links to where you can find this hardware*
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make blackpill:default
|
||||
|
||||
Flashing example for this keyboard:
|
||||
|
||||
make blackpill:default:flash
|
||||
|
||||
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).
|
||||
|
||||
## Bootloader
|
||||
|
||||
Enter the bootloader in 3 ways:
|
||||
|
||||
* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
|
||||
* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead
|
||||
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
|
1
keyboards/blackpill/rules.mk
Normal file
1
keyboards/blackpill/rules.mk
Normal file
@ -0,0 +1 @@
|
||||
# This file intentionally left blank
|
46
keyboards/rp/config.h
Normal file
46
keyboards/rp/config.h
Normal file
@ -0,0 +1,46 @@
|
||||
// Copyright 2022 Thomas Haukland (@Thomas Haukland)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
/*
|
||||
* Feature disable options
|
||||
* These options are also useful to firmware size reduction.
|
||||
*/
|
||||
|
||||
/* disable debug print */
|
||||
//#define NO_DEBUG
|
||||
|
||||
/* disable print */
|
||||
//#define NO_PRINT
|
||||
|
||||
/* disable action features */
|
||||
//#define NO_ACTION_LAYER
|
||||
//#define NO_ACTION_TAPPING
|
||||
//#define NO_ACTION_ONESHOT
|
||||
//
|
||||
#define RGBLED_NUM 3
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
# define SPLIT_TRANSPORT_MIRROR
|
||||
# define RGB_MATRIX_LED_COUNT RGBLED_NUM
|
||||
# define RGB_MATRIX_SPLIT RGBLED_SPLIT
|
||||
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50
|
||||
# define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
|
||||
# define RGB_DISABLE_WHEN_USB_SUSPENDED
|
||||
# define RGB_MATRIX_KEYPRESSES
|
||||
#endif
|
||||
|
||||
/* RGB settings. */
|
||||
#define RGB_DI_PIN GP8
|
||||
#define WS2812_PWM_DRIVER PWMD2
|
||||
#define WS2812_PWM_CHANNEL 2
|
||||
#define WS2812_PWM_PAL_MODE 1
|
||||
#define WS2812_EXTERNAL_PULLUP
|
||||
#define WS2812_DMA_STREAM STM32_DMA1_STREAM1
|
||||
#define WS2812_DMA_CHANNEL 3
|
||||
#define WS2812_PWM_TARGET_PERIOD 900000
|
||||
|
||||
#define ENABLE_RGB_MATRIX_BREATHING
|
||||
|
||||
|
33
keyboards/rp/info.json
Normal file
33
keyboards/rp/info.json
Normal file
@ -0,0 +1,33 @@
|
||||
{
|
||||
"manufacturer": "Thomas Haukland",
|
||||
"keyboard_name": "rp",
|
||||
"maintainer": "Thomas Haukland",
|
||||
"bootloader": "rp2040",
|
||||
"diode_direction": "COL2ROW",
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"command": false,
|
||||
"console": true,
|
||||
"extrakey": true,
|
||||
"mousekey": true,
|
||||
"nkro": true
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["GP1"],
|
||||
"rows": ["GP2"]
|
||||
},
|
||||
"processor": "RP2040",
|
||||
"url": "",
|
||||
"usb": {
|
||||
"device_version": "1.0.0",
|
||||
"pid": "0x0000",
|
||||
"vid": "0xFEED"
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT_ortho_1x1": {
|
||||
"layout": [
|
||||
{ "matrix": [0, 0], "x": 0, "y": 0 }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
12
keyboards/rp/keymaps/default/keymap.c
Normal file
12
keyboards/rp/keymaps/default/keymap.c
Normal file
@ -0,0 +1,12 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/*
|
||||
* ┌───┐
|
||||
* │ A │
|
||||
* └───┘
|
||||
*/
|
||||
[0] = LAYOUT_ortho_1x1(
|
||||
KC_A
|
||||
)
|
||||
};
|
27
keyboards/rp/readme.md
Normal file
27
keyboards/rp/readme.md
Normal file
@ -0,0 +1,27 @@
|
||||
# rp
|
||||
|
||||

|
||||
|
||||
*A short description of the keyboard/project*
|
||||
|
||||
* Keyboard Maintainer: [Thomas Haukland](https://github.com/Thomas Haukland)
|
||||
* Hardware Supported: *The PCBs, controllers supported*
|
||||
* Hardware Availability: *Links to where you can find this hardware*
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make rp:default
|
||||
|
||||
Flashing example for this keyboard:
|
||||
|
||||
make rp:default:flash
|
||||
|
||||
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).
|
||||
|
||||
## Bootloader
|
||||
|
||||
Enter the bootloader in 3 ways:
|
||||
|
||||
* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
|
||||
* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead
|
||||
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
|
5
keyboards/rp/rules.mk
Normal file
5
keyboards/rp/rules.mk
Normal file
@ -0,0 +1,5 @@
|
||||
# This file intentionally left blank
|
||||
|
||||
RGB_MATRIX_SUPPORTED = yes
|
||||
RGB_MATRIX_DRIVER = WS2812
|
||||
|
Loading…
x
Reference in New Issue
Block a user