User defines hotkey to use in input settings - how to convert it to key code?
-
For my EA I'd like the user to define the key they'd like to use to perform some function.
For example:
- they press 'f' (no alt/ctrl/shift etc)
- EA does something.
To detect this key press I need the key code for it. I can get it to work if I already know the keycode. But I can't seem to find how to to convert a key into keycode (rather than get user to convert to keycode using this for example: https://www.w3.org/2002/09/tests/keys.html)
This is closest thread I can find: https://www.mql5.com/en/forum/159049
But I am still not clear how I could perform this conversion using fxdreema, can anyone advise?
-
@general-melchett This sounds interesting. I'm also interested in any possible solution.