Accelerator and Numpad# do not work

Posted by AdInfinitum on Sun 22 Nov 2020 11:59 PM — 5 posts, 19,134 views.

#0
I could swear in the past it worked, but trying to set an Accelerator with a Numpad option (i.e. \\\Accelerator("Shift+Numpad4", "eat")) does not seem to work in 5.07-pre.

It IS listed as one of the keywords in the Accelerator help file, but setting it does absolutely nothing unless I'm missing something.
Australia Forum Administrator #1
Shift+Numpad4 doesn't seem to be a combination that generates a key.

See: Input menu -> Key name for testing key combinations.

With NumLk off I can get Shift+Left to send something.
#2
Well, I'll be... I think I was misremembering, then, and was using Alt rather than Shift.

Is this a OS thing, where Shift+Numpad doesn't send the combination, or a MUSHClient thing?
Australia Forum Administrator #3
It's on OS thing. That dialog box that lets you test keystrokes just does an OS call to see what keystroke (if any) is returned when you press a certain key.

Under the World Configuration -> Input -> Keypad tab you can set up things to be sent on the unshifted keypad entries, and also Ctrl+something keypad entries, without having to use Accelerator at all.
#4
Nick Gammon said:

Under the World Configuration -> Input -> Keypad tab you can set up things to be sent on the unshifted keypad entries, and also Ctrl+something keypad entries, without having to use Accelerator at all.


Oh yeah, I am well aware of this option; just wanted to add some more options on the numpad. Given the options, it seems there are 59 total keypad options on the Numpad (would be 60, but Ctrl+Alt+0 sends Ctrl+Alt+Del, at least for me). Shame Shift doesn't work, as that would expand it to 119 total actions, but eh, I can live with 59. Thanks, as always, for the responses!