Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete yanfali_wkl #3

Open
wants to merge 35 commits into
base: choc2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
1d28b6a
Sofle Choc variant
brianlow Mar 27, 2022
594650f
Fix includes
brianlow Mar 27, 2022
f3c02bb
Remove SERIAL_USE_MULTI_TRANSACTION
brianlow Mar 27, 2022
bbb8b77
Move encoder handler to choc.c
brianlow Mar 27, 2022
e99d3db
Do not include stdio.h
brianlow Mar 27, 2022
1d56126
Use get_u8_str
brianlow Mar 27, 2022
6c33887
Use SAFE_RANGE in custom_keycodes
brianlow Mar 27, 2022
c6effbb
Remove unused #defines
brianlow Mar 27, 2022
03a2d3e
Call keymap encoder function
brianlow Mar 29, 2022
d01fad4
Host photo on imgur
brianlow Mar 29, 2022
f8943a0
Fold oled.c into keymap.c
brianlow Mar 29, 2022
27cf429
Move new keymaps under choc and remove choc_ prefix
brianlow Apr 3, 2022
01ee286
Add choc_ prefix back to keymap folders to avoid conflict
brianlow Apr 6, 2022
4623a96
Split out separate sofle_choc keyboard
brianlow Apr 9, 2022
8ecd70d
Clean up comments
brianlow Apr 9, 2022
4376705
Remove TAPPING defines
brianlow Aug 8, 2022
c37b8c1
sMerge remote-tracking branch 'upstream/master' into choc2
brianlow Nov 26, 2022
31dd40b
Encoder Map
brianlow Nov 26, 2022
ee7dcde
Move USB descriptors to info.json
brianlow Nov 26, 2022
81104df
Delete ENCODER_RESOLUTION
brianlow Nov 26, 2022
bbf6866
Delete USE_SERIAL
brianlow Nov 26, 2022
d37c361
RESET -> QK_BOOT
brianlow Nov 26, 2022
ff2c5cf
Merge remote-tracking branch 'upstream/master' into choc2
brianlow Nov 30, 2022
786950f
RGB_MATRIX_LED_COUNT, KC_RCTL, KC_LCTL
brianlow Nov 30, 2022
c058e7e
RGB_MATRIX_STARTUP_MODE -> RGB_MATRIX_DEFAULT_MODE
brianlow Feb 2, 2023
34b78b8
Delete MATRIX_ROW, MATRIX_COLS
brianlow Feb 2, 2023
dba3c8c
Move bootloader and processor into info.json
brianlow Feb 2, 2023
0e0fa6a
Merge remote-tracking branch 'upstream/master' into choc2
brianlow Feb 2, 2023
1c747ea
Lint: add license
brianlow Feb 5, 2023
265a637
Delete DEBOUNCE
brianlow Feb 6, 2023
ac0b3b1
RGB_MATRIX_STARTUP_MODE -> RGB_MATRIX_DEFAULT_MODE
brianlow Feb 6, 2023
3c8d1aa
Delete KC_ADJUST
brianlow Feb 10, 2023
a0e7668
Drop config_common.h include
brianlow Feb 16, 2023
5b870f6
Move soft serial pin to info.json
brianlow Feb 16, 2023
5c168f7
Delete yanfali_wkl
RaspingGorilla Feb 19, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions keyboards/sofle_choc/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/* Copyright 2022 Brian Low
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

// Wiring of each half
#define MATRIX_ROW_PINS { C6, D7, E6, B4, B5 }
#define MATRIX_COL_PINS { F6, F7, B1, B3, B2, B6 }
#define DIODE_DIRECTION COL2ROW

// Encoder support
#define ENCODERS_PAD_A { F5 }
#define ENCODERS_PAD_B { F4 }
#define ENCODERS_PAD_A_RIGHT { F4 }
#define ENCODERS_PAD_B_RIGHT { F5 }

#ifdef RGB_MATRIX_ENABLE
#define RGB_DI_PIN D3
#define RGBLED_NUM 29
#define RGB_MATRIX_LED_COUNT 58
#define RGB_MATRIX_SPLIT { 29, 29 }
#endif
27 changes: 27 additions & 0 deletions keyboards/sofle_choc/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"keyboard_name": "Sofle Choc",
"url": "https://github.com/josefadamcik/SofleKeyboard",
"maintainer": "Brian Low <[email protected]>",
"manufacturer": "Brian Low",
"usb": {
"vid": "0xFC32",
"pid": "0x0287",
"device_version": "0.0.1"
},
"processor": "atmega32u4",
"bootloader": "caterina",
"split": {
"soft_serial_pin": "D2"
},
"layouts": {
"LAYOUT": {
"layout": [
{"x":0, "y":0.5}, {"x":1, "y":0.375}, {"x":2, "y":0.125}, {"x":3, "y":0}, {"x":4, "y":0.125}, {"x":5, "y":0.25}, {"x":10.5, "y":0.25}, {"x":11.5, "y":0.125}, {"x":12.5, "y":0}, {"x":13.5, "y":0.125}, {"x":14.5, "y":0.375}, {"x":15.5, "y":0.5},
{"x":0, "y":1.5}, {"x":1, "y":1.375}, {"x":2, "y":1.125}, {"x":3, "y":1}, {"x":4, "y":1.125}, {"x":5, "y":1.25}, {"x":10.5, "y":1.25}, {"x":11.5, "y":1.125}, {"x":12.5, "y":1}, {"x":13.5, "y":1.125}, {"x":14.5, "y":1.375}, {"x":15.5, "y":1.5},
{"x":0, "y":2.5}, {"x":1, "y":2.375}, {"x":2, "y":2.125}, {"x":3, "y":2}, {"x":4, "y":2.125}, {"x":5, "y":2.25}, {"x":10.5, "y":2.25}, {"x":11.5, "y":2.125}, {"x":12.5, "y":2}, {"x":13.5, "y":2.125}, {"x":14.5, "y":2.375}, {"x":15.5, "y":2.5},
{"x":0, "y":3.5}, {"x":1, "y":3.375}, {"x":2, "y":3.125}, {"x":3, "y":3}, {"x":4, "y":3.125}, {"x":5, "y":3.25}, {"x":6, "y":2.75}, {"x":9.5, "y":2.75}, {"x":10.5, "y":3.25}, {"x":11.5, "y":3.125}, {"x":12.5, "y":3}, {"x":13.5, "y":3.125}, {"x":14.5, "y":3.375}, {"x":15.5, "y":3.5},
{"x":1.5, "y":4.375}, {"x":2.5, "y":4.125}, {"x":3.5, "y":4.15}, {"x":4.5, "y":4.25}, {"x":6, "y":4.25, "h":1.5}, {"x":9.5, "y":4.25, "h":1.5}, {"x":11, "y":4.25}, {"x":12, "y":4.15}, {"x":13, "y":4.125}, {"x":14, "y":4.375}
]
}
}
}
95 changes: 95 additions & 0 deletions keyboards/sofle_choc/keymaps/default/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
/* Copyright 2023 Brian Low
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once

// Plug USB into the left half of the keyboard
// see https://docs.qmk.fm/#/feature_split_keyboard?id=setting-handedness
#define MASTER_LEFT

// Enabling this option changes the startup behavior to listen for an
// active USB communication to delegate which part is master and which
// is slave. With this option enabled and theres’s USB communication,
// then that half assumes it is the master, otherwise it assumes it
// is the slave.
//
// I've found this helps with some ProMicros where the slave does not boot
#define SPLIT_USB_DETECT

#ifdef RGB_MATRIX_ENABLE

#define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
#define SPLIT_TRANSPORT_MIRROR // If LED_MATRIX_KEYPRESSES or LED_MATRIX_KEYRELEASES is enabled, you also will want to enable SPLIT_TRANSPORT_MIRROR
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 100 // limits maximum brightness of LEDs (max 255). Higher may cause the controller to crash.
#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_BREATHING

// Animations
// Uncomment any that you want to try. Limited by
// space on the microcontroller. The defines below mirror
// the order they animations will cycle through.

// These modes don’t require any additional defines
// #define ENABLE_RGB_MATRIX_ALPHAS_MODS
// #define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
// #define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
#define ENABLE_RGB_MATRIX_BREATHING
// #define ENABLE_RGB_MATRIX_BAND_SAT
// #define ENABLE_RGB_MATRIX_BAND_VAL
// #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
// #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
// #define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT
// #define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
// #define ENABLE_RGB_MATRIX_CYCLE_ALL
#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
// #define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
#define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
// #define ENABLE_RGB_MATRIX_CYCLE_OUT_IN
#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
// #define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
// #define ENABLE_RGB_MATRIX_CYCLE_SPIRAL
#define ENABLE_RGB_MATRIX_DUAL_BEACON
// #define ENABLE_RGB_MATRIX_RAINBOW_BEACON
// #define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
// #define ENABLE_RGB_MATRIX_RAINDROPS
#define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
// #define ENABLE_RGB_MATRIX_HUE_BREATHING
// #define ENABLE_RGB_MATRIX_HUE_PENDULUM
// #define ENABLE_RGB_MATRIX_HUE_WAVE
#define ENABLE_RGB_MATRIX_PIXEL_FRACTAL
// #define ENABLE_RGB_MATRIX_PIXEL_FLOW
// #define ENABLE_RGB_MATRIX_PIXEL_RAIN

// These modes require the RGB_MATRIX_FRAMEBUFFER_EFFECTS define
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
#define ENABLE_RGB_MATRIX_TYPING_HEATMAP
// #define ENABLE_RGB_MATRIX_DIGITAL_RAIN

// These modes require the RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES define
#define RGB_MATRIX_KEYPRESSES
// #define RGB_MATRIX_KEYRELEASES
// #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
// #define ENABLE_RGB_MATRIX_SOLID_REACTIVE
// #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
// #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
// #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
// #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
// #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
// #define ENABLE_RGB_MATRIX_SPLASH
#define ENABLE_RGB_MATRIX_MULTISPLASH
// #define ENABLE_RGB_MATRIX_SOLID_SPLASH
// #define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH

#endif
Loading