LPHK icon indicating copy to clipboard operation
LPHK copied to clipboard

How to bind numeric keys?

Open rastitkac opened this issue 5 years ago • 5 comments

Hi @nimaid

I was wondering if there is a way to map numeric keys. If i do a @simple 4, the 4 on the normal keyboard will be pressed, but I can find the way to press 4 on the numeric block of the keyboard.

Best regards Rasti

rastitkac avatar May 30 '19 08:05 rastitkac

According to utils/GET_KEYCODES.py, both numeric keypad and the regular number row give the same keycode for "4", which is "5". What is software are you trying to use that can tell the difference?

nimaid avatar Sep 18 '19 20:09 nimaid

@rastitkac Could you please let me know which programs were giving you issues about the numeric keypad if any. Otherwise, I'll close this issue in about a week. Please join the DIscord for simple questions like this.

nimaid avatar Nov 17 '19 20:11 nimaid

Closing this issue due to lack of response. Please seek further help on the Discord.

nimaid avatar Nov 30 '19 01:11 nimaid

I just realized that, yes, they use different keycodes, but the keyboard library treats all number keys the same! I have added a todo item to switch over to pyautogui, which differentiates between them, and has more features.

nimaid avatar Dec 10 '19 22:12 nimaid

Is this still an issue?

duncte123 avatar Feb 18 '21 20:02 duncte123