Skycoder42 / QHotkey

A global shortcut/hotkey for Desktop Qt-Applications
BSD 3-Clause "New" or "Revised" License
548 stars 161 forks source link

How to use numpad keys ? #78

Open jimCCB opened 1 year ago

jimCCB commented 1 year ago

Hello,

Thanks for this nice library !

I need to use the 'Plus', 'Minus', and almost all other keys of the numpad. The 'Qt::KeypadModifier' doesn't work in QKeySequence.

So what's the solution ?

Thx again

jimCCB commented 1 year ago

Answer :

Use virtual key code from : https://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes