hsgw / plaid

12x4 ortholinear usb keyboard made by Through Hole components ONLY.
MIT License
732 stars 93 forks source link

Wrong keypresses being sent. #15

Open ekosynth opened 4 years ago

ekosynth commented 4 years ago

image

After building the Plaid all the keypresses were registering correctly, except one dead key. I was trying to trace this but since then only some of the keypresses work, and they dont match the keys that I'm pressing. A lot of the keys seem to trigger some combination with ctrl and alt too.

I've tried reflashing the firmware, but nothing seems to affect it. Any idea what I've done wrong?

hsgw commented 4 years ago

Please check switch matrix isn't short. And test this keymap below.

[0] = LAYOUT_plaid_grid(
    KC_A,     KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
    KC_NO,  KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
    KC_NO,  KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
    KC_NO,  KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO
),
ekosynth commented 4 years ago

@hsgw I tried the keymap you sent and this is what I get pressing all the different keys: image

I can't seem to find a short in the matrix. I wonder if maybe I've damaged the atmega328?

Bauncer commented 4 years ago

I’ve just had the exactly same problem with my plaid yesterday. Rebooted my PC and keypresses were messed up. Found this in r/olkb: https://www.reddit.com/r/olkb/comments/d35aqo/help_with_plaid_thk_sending_seemingly_random/

Will try the fix later

Update: Fix worked.. until I flashed the default.hex keymap back on it and now I can't get any keypresses to registre. :-/

benjajaja commented 3 years ago

confirming that

void matrix_init_user(void) {
  eeconfig_init();
}

also fixed the issue for me.

elasticrash commented 3 years ago

I am not quite certain if its related. I had a similar issue. Only when I press the key where the spaces are, it then switched to layer 3. I flashed an option on layer 3 to go back to layer 1 and that works. But I have to do it every time I plug it in. I will try the matrix init and see if that makes a difference.

Edit: resetting the eeprom through the QMK toolbox did the trick