pnegre / python-whiteboard

Linux whiteboard in python
http://wiki.github.com/pnegre/python-whiteboard/
GNU General Public License v2.0
117 stars 23 forks source link

right clicking #4

Closed eanopolsky closed 13 years ago

eanopolsky commented 13 years ago

I would like to use your program to control the game Crayon Physics Deluxe. However, this game makes use of both the left and right mouse buttons. Is there a way to control such an application with python-whiteboard?

If not, I have a couple of ideas about how to implement the feature: 1) Create a rectangle in a corner of the screen. Clicking in this area will make the next click a right click. 2) Turn double clicks into right clicks.

pnegre commented 13 years ago

Hi. You can use left and right clicks right now. Just note that you can configure the "offscreen" areas (up, down, left and right) for right clicks. Go to the configuration screen and adjust the settings.

This offscreen areas work like the little rectangle you describe in your comment.