Skip to content
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

Windows version using numeric keypad with NumLock #81

Closed
MrZoolook opened this issue Oct 5, 2019 · 4 comments
Closed

Windows version using numeric keypad with NumLock #81

MrZoolook opened this issue Oct 5, 2019 · 4 comments

Comments

@MrZoolook
Copy link

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.

@chrisws
Copy link
Contributor

chrisws commented Oct 31, 2019

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.

chrisws added a commit to chrisws/SmallBASIC that referenced this issue Dec 21, 2019
@chrisws chrisws mentioned this issue Dec 22, 2019
@chrisws
Copy link
Contributor

chrisws commented Feb 1, 2020

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

@chrisws chrisws closed this as completed Feb 1, 2020
@MrZoolook
Copy link
Author

MrZoolook commented Feb 3, 2020

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
Copy link
Contributor

chrisws commented Feb 6, 2020 via email

@chrisws chrisws mentioned this issue Mar 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants