[Bf-committers] keyboard mapping, was interactive python console
cbarton at metavr.com
Sat Mar 26 00:34:26 CET 2005
Hi, Mabe Ill continue this on the python mailing list.
We need a way to recieve higher level key inputs- Python coders
shouldent have to muck around with kb mappings.
A solution could be to use the text input, but that would remove the
ability to do things like Auto-compleate. command history etc.
Also the user would have to click on the text box each time. :p could
simulate pressing enter but still this smells of messiness to me
GSR - FR wrote:
>cbarton at metavr.com (2005-03-25 at 0615.33 +1100):
>> elif (evt == Draw.TWOKEY and val and shift): insCh('@')
>> elif (evt == Draw.TWOKEY and val and not shift): insCh('2')
>> elif (evt == Draw.THREEKEY and val and shift): insCh('#')
>> elif (evt == Draw.THREEKEY and val and not shift): insCh('3')
>And a handful of ouchs later... is there no way to make it portable?
>Cos that mapping assumes an exact kind of keyboard. Blender seems to
>have managed to solve some of the issues it had in this aspect, and
>this script adds back a lot. In path fields, I can get what (all?) key
>caps have printed, but with the script I get have a different keyboard
>Bf-committers mailing list
>Bf-committers at projects.blender.org
Campbell J Barton
133 Hope Street
Geelong West, Victoria 3218 Australia
e-mail: cbarton at metavr.com
phone: AU (03) 5229 0241
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Bf-committers