-
-
Notifications
You must be signed in to change notification settings - Fork 40.2k
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
Shift to custom key #1495
Comments
I'm working on a making a general solution for this, and I will probably have something ready in a few days. The idea is that you will be able to define a complete key with all different modifier levels, none, shift, alt gr, and alt gr+shift. This includes the support for sending for example unshifted keys, even if you have the shift key pressed. I have a very basic version of this in my personal keymap, but I want to make something thing that is generic and included in QMK. |
I'll watch out for it. I think I've always used "+" more than "=" so being able to switch those would be really great, same with "?" being much more common than "/". Following the philosophy of Dvorak I'm really excited to switch the "?" to the unshift layer and then switch out "!" and "/". I imagine several people are pretty keen on this. Thanks for working on this!!! |
I was thinking of implementing the following API
This means that you can define and use a custom keycode in your keymap like this enum my_keycodes {
PLUS_EQL=SAFE_RANGE
};
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KEYMAP(..., PLUS_EQL, ...)
}
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch(keycode) {
case PLUS_EQL:
send_modified_keypress(LSFT(KC_EQL), KC_EQL, KC_NO, KC_NO);
return true;
break;
}
return false;
} |
Did anything come of this? If not, was it due to technical issues or lack of time? |
@tamlyn I believe that fredizzimo didn't add this yet. However, you can see his keymap here: |
@Yatreyu @fredizzimo @tamlyn @drashna |
Since this is a PR, I'm going to close this. |
This is really similar to #108 but I'm still having issues.
I used http://kbfirmware.com/ to make my ".hex".
In my situation I want to shift to "!" from the base layer "?"
I'm using OSM(MOD_LSFT) as my only shift key so I don't know how to put the pieces together here.
Thanks in advance.
The text was updated successfully, but these errors were encountered: