Closed buckatron closed 5 years ago
Which client are you wanting to add 'hotkeys' to?
@Tombez Cigar2
https://github.com/Cigar2/Cigar2/blob/d3fa09fe2e9bf6c216b899c989381698329b6890/web/assets/js/main_out.js#L1598
Put an if statement checking if key
is equal to the key you want to do something when it's pressed.
Inside the if statement, write code to do what you want to happen when that key is pressed.
Could someone just help me to understand where I can add hotkeys? I really can't figure out how.. and I know this is a client sided problem, but if anyone knows it would be greatly appreciated if someone could let me know...