Skip to content

fix SELENIUM_RESTORE_SPACE under qmk #97

@elelay

Description

@elelay

On a rpi-2040 based ferris sweep (34 keys), #define SELENIUM_RESTORE_SPACE in config.h always converted backspace to space.
It should only do it when the other key for the same thumb is pressed.

I fixed it by removing the negation in keymap.c:

#   ifdef SELENIUM_RESTORE_SPACE
    if ((keycode & 0xff) == KC_BSPC &&
        thumb_mod_same_hand_as_space_held &&
        record->tap.count > 0
    ) {
        tap_code(KC_SPC);
        return false;
    }
#   endif

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions