[Bf-python] Logical Window.GetMouseButtons()
Michael Schardt
M.Schardt at web.de
Thu May 3 10:18:44 CEST 2007
@ Joe: You're right - i was not sure if this is the best solution.
Not that i'd consider an additional option bad form in general - there are several examples in the current API - but the MButs constants are of course confusing in this context.
The alternative would be a separate function Window.GetLogicalMouseButtons() and new constants to compare against.
Something like Window.LMButs.S, LMButs.M, LMButs.??? for L(ogical)M(ouse)But(ton)s.Select, Middle, ???.
That's what i tried to avoid - not to introduce a new function and new constants for everything but having fewer and more "powerful" functions.
Or is all this nonsense and there's already a possibility of telling the logical button state or the usersettings "Select with ..." which i don't know?
I'm open for any suggestions.
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.blender.org/pipermail/bf-python/attachments/20070503/68277dff/attachment.html>
More information about the Bf-python
mailing list