Skip to content

Windows version using numeric keypad with NumLock #81

@MrZoolook

Description

@MrZoolook

Using the latest Windows version, if I start the program with NumLock turned on, they keypad buttons produce BOTH the number and it's (un-numlocked) action. As in, pressing the '4' button types '4' in the program, but also moves the cursor left, pressing '9' moves the cursor up a page as the 9 is also the PageUp key... etc.

At this point, toggling off NumLock turns the keys into the number only, as if the program is reversing the state of the NumLock function.

HOWEVER, if I start the program with NumLock turned off, the program recognises the state of NumLock, and the keypad behaves as expected, with the NumLock state being recognised properly, and the keys working as expected with or without Numlock.

Activity

chrisws

chrisws commented on Oct 31, 2019

@chrisws
Contributor

I've looked at this previously but didn't get anywhere. I think your investigation notes might be useful so I'll take another look soon.

added a commit that references this issue on Dec 21, 2019
chrisws

chrisws commented on Feb 1, 2020

@chrisws
Contributor

This should now be fixed, let me know if you have any further issues.

MrZoolook

MrZoolook commented on Feb 3, 2020

@MrZoolook
Author

OK, well not sure whether I should open a new bug or not regarding this fix.

Numlock handling is fixed in the update, but with Numlock turned on, the rest of the keyboard isn't responding. To actually type code, I need to turn Numlock off.

Is it worth mentioning that I'm on a desktop computer rather than a laptop? I know some laptops implement Numlock in a way that changes the behaviour of other keys also.

chrisws

chrisws commented on Feb 6, 2020

@chrisws
Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @chrisws@MrZoolook

        Issue actions

          Windows version using numeric keypad with NumLock · Issue #81 · smallbasic/SmallBASIC