Posts: 145
Joined: Apr 2005
Reputation:
0
Phunck
Senior Member
Posts: 145
2005-04-28, 12:21
is there anyway of detecting a y-button press in onaction (or white/black buttons). they all seem to have action==0
the problem is that sometimes the x-button is being used to switch to music visualization mode and therefore you can't rely on the x button being available from python.
Posts: 928
Joined: Feb 2004
Reputation:
0
Asteron
"Skilled" Python Coder
Posts: 928
someone needs to make a patch to cvs to bind y-button and black-button to some action (any unique id will do) globally so they can be accessed from python scripts.
the problem is that python window ids are dynamically generated and keymap.xml only allows assignments to individual windows afaik.
it would be good to have the ability to specify a range of window id's to assign a keymap to. or at least have a reserved id that all scripts can use. if neither of these then someone has to bind y and black globally to something and put it in cvs already.
Posts: 59
Joined: Sep 2004
Reputation:
0
that would be great if someone could do this. i tried for over one hour before i realized that none of these buttons works in scripts.