about xwindow. mouse left button and right button
The Button1MotionMask happend MotionNotify,
and Button2MotionMask happend MotionNotify to, Button3MotionMask, Button4MotionMask Button5MotionMask....... same,there happend ButtonPress and ButtonRelease. but, i don't know where is mouse left button, where is mouse right button. my code:) Code:
a new progremer.. thanks. |
The left button is button 1.
The right button is button 2. |
Quote:
Code:
while (1) |
Quote:
|
Thanks wje_lq and dmail.
I'm form China, I'm sorry my English is bad. my codes run my ubuntu now ^_^ thanks! |
All times are GMT -5. The time now is 04:27 AM. |