Can I access keys by their names
|
07-24-2016, 07:06 PM
Post: #1
|
|||
|
|||
Can I access keys by their names
So far when I have wanted to check for a user key, I have checked for that keys HP number, thus IF KK==4 for ESC.
If you have a lot of keys to check for, or in the interests of portability, an alternative would be preferred. I had thought to use the key name (listed under user key customisation), but that name is giving me a syntax error if I simply replace the "4" with "K_Esc". Code:
Am I missing something obvious to use those key names for checking for keys? Or is there a better way? Stephen Lewkowicz (G1CMZ) https://my.numworks.com/python/steveg1cmz |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Can I access keys by their names - StephenG1CMZ - 07-24-2016 07:06 PM
RE: Can I access keys by their names - Tim Wessman - 07-25-2016, 11:41 PM
RE: Can I access keys by their names - Tyann - 07-26-2016, 05:12 AM
RE: Can I access keys by their names - Martin Hepperle - 07-26-2016, 08:27 AM
RE: Can I access keys by their names - StephenG1CMZ - 07-26-2016, 08:26 PM
RE: Can I access keys by their names - Tim Wessman - 07-26-2016, 08:39 PM
RE: Can I access keys by their names - toml_12953 - 08-19-2016, 03:36 PM
RE: Can I access keys by their names - StephenG1CMZ - 07-26-2016, 09:56 PM
RE: Can I access keys by their names - StephenG1CMZ - 08-12-2016, 06:33 PM
RE: Can I access keys by their names - Fortin - 08-19-2016, 02:57 PM
RE: Can I access keys by their names - StephenG1CMZ - 08-26-2016, 06:19 PM
|
User(s) browsing this thread: 1 Guest(s)