Python keycode constants
Is there a list of Python keycode constants available for reference somewhere? Doing an if key == 'c' is easy enough, but it's trickier when you want to use the "weirder" keys like Insert and Delete.
If no one's done it already, we should compile one. I've already had to figure out a few of them already myself, so... :) |
Hi,
Vizard already handles special keys. For example, if you want to check for the insert and delete key being pressed you would do the following: Code:
def onkeydown(key): Hope this helps! |
All times are GMT -7. The time now is 02:57 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC