-
-
Notifications
You must be signed in to change notification settings - Fork 39.9k
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
Sejin EAT-1010M2 keyboard #19802
Sejin EAT-1010M2 keyboard #19802
Conversation
|
||
/* | ||
void matrix_init_user(void) { | ||
} | ||
void matrix_scan_user(void) { | ||
} | ||
bool led_update_user(led_t led_state) { | ||
return 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.
/* | |
void matrix_init_user(void) { | |
} | |
void matrix_scan_user(void) { | |
} | |
bool led_update_user(led_t led_state) { | |
return true; | |
} | |
*/ |
@@ -0,0 +1,62 @@ | |||
# QMK-based firmware for Zenith Z-150 keyboard | |||
|
|||
![Z-150](https://imgur.com/jayyyvJ.jpg) |
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.
![Z-150](https://imgur.com/jayyyvJ.jpg) | |
![Z-150](https://i.imgur.com/jayyyvJh.jpg) |
|
||
Make example for this keyboard (after setting up your build environment): | ||
|
||
make handwired/z150:default |
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.
make handwired/z150:default | |
make handwired/sejin_eat1010r2:default | |
Flashing example for this keyboard: | |
make handwired/sejin_eat1010r2:default:flash | |
make handwired/z150: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). | ||
|
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 add instruction on entering bootloader mode, as per template.
You can keep the original resistors, but with Black Pill or any other 3.3V controller the LEDs may seem a little dim. Try 150Ω or close value if you want to fix that. | ||
|
||
|
||
## Black Pill |
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.
info.json
says this uses a bluepill? May want to clear that up.
"backlight": false, | ||
"sleep_led": false | ||
}, | ||
"debounce": 5 |
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.
"debounce": 5 |
"sleep_led": false | ||
}, | ||
"debounce": 5 | ||
} |
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 file is missing the x, y coordinates (at the minimum). See configuator support.
#include "config_common.h" | ||
|
||
/* key matrix size */ | ||
#define MATRIX_ROWS 8 | ||
#define MATRIX_COLS 16 | ||
|
||
#define MATRIX_HAS_GHOST | ||
|
||
#define NUM_LOCK_LED_PIN B0 | ||
#define SCROLL_LOCK_LED_PIN B10 | ||
#define CAPS_LOCK_LED_PIN B1 | ||
|
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.
#include "config_common.h" | |
/* key matrix size */ | |
#define MATRIX_ROWS 8 | |
#define MATRIX_COLS 16 | |
#define MATRIX_HAS_GHOST | |
#define NUM_LOCK_LED_PIN B0 | |
#define SCROLL_LOCK_LED_PIN B10 | |
#define CAPS_LOCK_LED_PIN B1 | |
#define MATRIX_HAS_GHOST |
"command": false, | ||
"console": false, | ||
"extrakey": true, | ||
"midi": false, | ||
"mousekey": true, | ||
"nkro": false, | ||
"rgblight": false, | ||
"unicode": false, | ||
"bluetooth": false, | ||
"backlight": false, | ||
"sleep_led": false | ||
}, |
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.
"command": false, | |
"console": false, | |
"extrakey": true, | |
"midi": false, | |
"mousekey": true, | |
"nkro": false, | |
"rgblight": false, | |
"unicode": false, | |
"bluetooth": false, | |
"backlight": false, | |
"sleep_led": false | |
}, | |
"command": false, | |
"console": false, | |
"extrakey": true, | |
"midi": false, | |
"mousekey": true, | |
"nkro": false, | |
"rgblight": false, | |
"unicode": false, | |
"bluetooth": false, | |
"backlight": false, | |
"sleep_led": false | |
}, | |
"indicators": { | |
"num_lock": "B0", | |
"caps_lock": "B1", | |
"scroll_lock": "B10", | |
}, |
|
||
void matrix_init_kb(void) { | ||
setPinOutput(NUM_LOCK_LED_PIN); | ||
setPinOutput(CAPS_LOCK_LED_PIN); | ||
setPinOutput(SCROLL_LOCK_LED_PIN); | ||
|
||
writePinLow(NUM_LOCK_LED_PIN); | ||
writePinLow(CAPS_LOCK_LED_PIN); | ||
writePinLow(SCROLL_LOCK_LED_PIN); | ||
|
||
matrix_init_user(); | ||
} | ||
|
||
bool led_update_kb(led_t led_state) { | ||
bool res = led_update_user(led_state); | ||
if(res) { | ||
writePin(NUM_LOCK_LED_PIN, !led_state.num_lock); | ||
writePin(CAPS_LOCK_LED_PIN, !led_state.caps_lock); | ||
writePin(SCROLL_LOCK_LED_PIN, !led_state.scroll_lock); | ||
} | ||
return res; | ||
} |
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.
void matrix_init_kb(void) { | |
setPinOutput(NUM_LOCK_LED_PIN); | |
setPinOutput(CAPS_LOCK_LED_PIN); | |
setPinOutput(SCROLL_LOCK_LED_PIN); | |
writePinLow(NUM_LOCK_LED_PIN); | |
writePinLow(CAPS_LOCK_LED_PIN); | |
writePinLow(SCROLL_LOCK_LED_PIN); | |
matrix_init_user(); | |
} | |
bool led_update_kb(led_t led_state) { | |
bool res = led_update_user(led_state); | |
if(res) { | |
writePin(NUM_LOCK_LED_PIN, !led_state.num_lock); | |
writePin(CAPS_LOCK_LED_PIN, !led_state.caps_lock); | |
writePin(SCROLL_LOCK_LED_PIN, !led_state.scroll_lock); | |
} | |
return res; | |
} |
Sorry, I messed up something in my fork. I'd better delete this pull request and fix everything. |
Sejin Electronics EAT-1010M2 controller replacement.
Handwired Blue Pill to membrane.
Types of Changes
Checklist