2006-06-14, 10:49
there is currently no way of getting thumbstick movement from python. i'd like to have that.
in ooba i have an imageviewer where you can zoom with the triggers and pan with the dpad. it would, however, be great if i could pan smoothly with the thumbstick. i was thinking that perhaps an action=0 could be fired on thumbstick movement. scripters could then do something like xbmc.getcontrollerstatus which would return all this info:
dword getbuttoncode() const;
byte getlefttrigger() const;
byte getrighttrigger() const;
float getleftthumbx() const;
float getleftthumby() const;
float getrightthumbx() const;
float getrightthumby() const;
copied from key.h
anybody else thinks this would be a good idea?
in ooba i have an imageviewer where you can zoom with the triggers and pan with the dpad. it would, however, be great if i could pan smoothly with the thumbstick. i was thinking that perhaps an action=0 could be fired on thumbstick movement. scripters could then do something like xbmc.getcontrollerstatus which would return all this info:
dword getbuttoncode() const;
byte getlefttrigger() const;
byte getrighttrigger() const;
float getleftthumbx() const;
float getleftthumby() const;
float getrightthumbx() const;
float getrightthumby() const;
copied from key.h
anybody else thinks this would be a good idea?