So I’m involved in developing a web application which will allow user to maintain keyboard shortcuts for different actions. I’m facing two challenges :-
How to listen to keypress of ctrl, shift, f1-f12, tab etc. ?
User will input some keyword for keys. For example for the shortcut "ctrl+R", user will enter "ctrl+R". But my query is whether command in macOS and ctrl in windows have a standard keyword, so user can use same keyword despite being on different operating systems.
I have searched through the net, but have no found no such web or OS standard.
Any help or direction is greatly appreciated!!
Source: Windows Questions