mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-04-07 22:35:42 +00:00
Apply suggestions from code review
Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: jack <0x6a73@protonmail.com>
This commit is contained in:
parent
8bd2c19129
commit
08d28e037b
@ -56,8 +56,6 @@ enum cocot_keycodes {
|
||||
#define SCRL_TO QK_USER_5
|
||||
#define SCRL_IN QK_USER_6
|
||||
|
||||
bool encoder_update_user(uint8_t index, bool clockwise);
|
||||
bool encoder_update_kb(uint8_t index, bool clockwise);
|
||||
bool cocot_get_scroll_mode(void);
|
||||
void cocot_set_scroll_mode(bool mode);
|
||||
|
||||
|
@ -8,32 +8,19 @@
|
||||
"pid": "0x0003",
|
||||
"vid": "0x1727"
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina",
|
||||
"qmk": {
|
||||
"locking": {
|
||||
"enabled": false,
|
||||
"resync": false
|
||||
}
|
||||
},
|
||||
"development_board": "promicro",
|
||||
"build": {
|
||||
"lto": true
|
||||
},
|
||||
"features": {
|
||||
"audio": false,
|
||||
"backlight": false,
|
||||
"bootmagic": true,
|
||||
"command": false,
|
||||
"console": false,
|
||||
"encoder":true,
|
||||
"extrakey": true,
|
||||
"mousekey": true,
|
||||
"nkro": false,
|
||||
"oled": true,
|
||||
"pointing_device": true,
|
||||
"rgblight": true
|
||||
},
|
||||
"debounce": 5,
|
||||
"matrix_pins": {
|
||||
"cols": ["F4", "F5", "F6", "F7", "B1", "B3"],
|
||||
"rows": ["D4", "C6", "D7", "E6", "NO_PIN"],
|
||||
@ -55,12 +42,9 @@
|
||||
"ws2812": {
|
||||
"pin": "B6"
|
||||
},
|
||||
"tapping": {
|
||||
"term": 200,
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{ "pin_a": "D3", "pin_b": "D2", "resolution": 4 }
|
||||
{ "pin_a": "D3", "pin_b": "D2"}
|
||||
]
|
||||
},
|
||||
"rgblight": {
|
||||
@ -73,9 +57,7 @@
|
||||
"static_gradient": true,
|
||||
"twinkle": true,
|
||||
},
|
||||
"brightness_steps": 17,
|
||||
"hue_steps": 10,
|
||||
"saturation_steps": 17,
|
||||
"max_brightness": 120,
|
||||
},
|
||||
"layouts": {
|
||||
|
@ -16,9 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
#include <stdio.h>
|
||||
#include "quantum.h"
|
||||
|
||||
|
||||
// Defines names for use in layer keycodes and the keymap
|
||||
enum layer_number {
|
||||
|
@ -1,6 +1,2 @@
|
||||
|
||||
|
||||
# Not sure how to translate these into keyboard.json
|
||||
SRC += matrix.c
|
||||
POINTING_DEVICE_DRIVER = adns5050
|
||||
OLED_DRIVER = ssd1306
|
||||
|
Loading…
Reference in New Issue
Block a user