-
-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Add "wk84" keybaord #24731
base: master
Are you sure you want to change the base?
Add "wk84" keybaord #24731
Conversation
Co-authored-by: Duncan Sutherland <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As per the PR checklist:
- PRs should contain the smallest amount of modifications required for a single change to the codebase
- multiple keyboards at the same time is not acceptable
- the smaller the PR, the higher likelihood of a quicker review, higher likelihood of quicker merge, and less chance of conflicts
Also, it looks like you have keyboard files outside of the keyboard folder. These would need to be moved/removed. |
@gskygithub |
/* RGB Matrix */ | ||
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS | ||
#define RGB_MATRIX_STARTUP_MODE 13 | ||
#define RGB_TRIGGER_ON_KEYDOWN | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are handled in the keyboard.json.
/* RGB Matrix */ | |
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS | |
#define RGB_MATRIX_STARTUP_MODE 13 | |
#define RGB_TRIGGER_ON_KEYDOWN |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Per PR checklist:
- default keymaps should be "pristine"
- bare minimum to be used as a "clean slate" for another user to develop their own user-specific keymap
- what does pristine mean? no custom keycodes. no advanced features like tap dance or macros. basic mod taps and home row mods would be acceptable where their use is necessary
- standard layouts preferred in these keymaps, if possible
- should use encoder map feature, rather than encoder_update_user()
- default keymap should not enable VIA -- keymaps targeting VIA support should be submitted to the VIA QMK Userspace repository
|
||
#include "spi_master.h" | ||
|
||
void spi_init(void) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason for this?
#define RGB_TRIGGER_ON_KEYDOWN | ||
|
||
/* WS2812 */ | ||
#define WS2812_SPI_DRIVER SPIDM2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this using a different driver than the one above?
|
||
#endif | ||
|
||
void keyboard_pre_init_kb(void) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there is a reason for this? This pin doesn't appear to be used, at all.
|
||
/* WS2812 */ | ||
#define WS2812_SPI_DRIVER SPIDM2 | ||
#define WS2812_SPI_DIVISOR 16 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Default value.
#define WS2812_SPI_DIVISOR 16 |
"dynamic_keymap": { | ||
"layer_count": 4 | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Default value.
"dynamic_keymap": { | |
"layer_count": 4 | |
}, |
"layer_count": 4 | ||
}, | ||
"eeprom": { | ||
"driver": "wear_leveling", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Default value.
"driver": "wear_leveling", |
"console": false, | ||
"extrakey": true, | ||
"mousekey": true, | ||
"nkro": true, | ||
"rgb_matrix": true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"console": false, | |
"extrakey": true, | |
"mousekey": true, | |
"nkro": true, | |
"rgb_matrix": true, | |
"console": false, | |
"extrakey": true, | |
"mousekey": true, | |
"nkro": true, | |
"rgb_matrix": true |
{"matrix": [0, 15], "x": 150, "y": 0, "flags": 4} | ||
], | ||
"react_on_keyup": true, | ||
"led_count": 84, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is inferred.
"led_count": 84, |
"val_steps": 40, | ||
"speed_steps": 60, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These seem like rather large values to set as the default. Users should configure this themselves if they'd like.
"val_steps": 40, | |
"speed_steps": 60, |
A keyboard, Equipped with the WestBerry Q95 microcontroller. | ||
|
||
* Keyboard Maintainer: [GSKY](https://github.com/gksygithub) | ||
* Hardware Supported: WK84 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please provide a link to where this keyboard can be purchased, or at least where more information can be found.
* Hardware Supported: WK84 | |
* Hardware Supported: WK84 | |
* Hardware Availability: *Links to where you can find this hardware* |
"center_point": [77, 30], | ||
"driver": "ws2812", | ||
"layout": [ | ||
{"matrix": [5, 4], "x": 37, "y": 50, "flags": 4}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These coordinates do not look right.
The expected range of values for
{ x, y }
is the inclusive range{ 0..224, 0..64 }
.
"splash": true, | ||
"typing_heatmap": true | ||
}, | ||
"center_point": [77, 30], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should not be needed with correct coordinates.
"center_point": [77, 30], |
Description
Add wk84 keybaord
Types of Changes
Issues Fixed or Closed by This PR
Checklist