Allegro.cc - Online Community

Allegro.cc Forums » Programming Questions » About mouse on the Allegro

This thread is locked; no one can reply to it. rss feed Print
About mouse on the Allegro
keprast
Member #16,794
January 2018

Hello!A hot hearted man.:)

The left and right keys of the mouse.
What is the corresponding key code?

And then the Z axis.The Z axis is the mouse's pulley?
No, so what's that?

Do you tell me?thanks.:D

Edgar Reynaldo
Member #8,592
May 2007
avatar

keprast
Member #16,794
January 2018

@Edgar Reynaldo
hello!
Thanks you.
What I need is not this.

What I need is:
Like the keyboard: "allegro_key_up"

The same, the left mouse, the right mouse button.
What are they?

Edgar Reynaldo
Member #8,592
May 2007
avatar

keprast
Member #16,794
January 2018

@Edgar Reynaldo
Thanks.
I know, this is the mouse was pressed.It's “event.type”.

But what I need is “event.mouse.button”.
It's like it“event.keyboard.keycode”

Edgar Reynaldo
Member #8,592
May 2007
avatar

keprast
Member #16,794
January 2018

@Edgar Reynaldo
Hmmm.That's what I didn't notice.

Thank you, hot people.:)

Go to: