Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 03/05/26 02:58
zorro with ccxt?
by opm. 03/03/26 03:17
WFO Training with parallel cores Zorro64
by Martin_HH. 02/26/26 16:03
Zorro version 3.0 prerelease!
by TipmyPip. 02/25/26 16:38
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (Quad), 4,945 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
the1, alx, ApprenticeInMuc, PatrickH90, USER0328
19200 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How and when does work the on_mouse_left? #488548
01/18/25 10:45
01/18/25 10:45
Joined: Sep 2009
Posts: 1,034
Budapest
Aku_Aku Offline OP
Serious User
Aku_Aku  Offline OP
Serious User

Joined: Sep 2009
Posts: 1,034
Budapest
How and when does work the on_mouse_left?
In the Manual:
Quote
function mouse_event(code)
{
if (code == 280)
{
printf("left key pressed!");
}
if (code == 281)
{
printf("right key pressed!");
}
if (code == 282)
{
printf("middle key pressed!");
}
}
...
void main() {
...
on_mouse_left = mouse_event;
on_mouse_right = mouse_event;
on_mouse_middle = mouse_event;
...

Well, I tried this and didn't worked.
Then I added this line:
Code
    enable_mouse = 2;
and didn't worked.
Then I added this line:
Code
    mouse_mode = 4;
and didn't worked.
Then I added this line:
Code
    on_mouse_left = mouse_event;
and didn't worked.

What preconditions must to be fulfilled to get this into work?

Re: How and when does work the on_mouse_left? [Re: Aku_Aku] #488550
01/20/25 09:52
01/20/25 09:52
Joined: Jun 2008
Posts: 56
Caucasus
VoroneTZ Offline
Junior Member
VoroneTZ  Offline
Junior Member

Joined: Jun 2008
Posts: 56
Caucasus
idk, all works fine
8.47.1 pro

[Linked Image]

Last edited by VoroneTZ; 01/20/25 09:53.
Re: How and when does work the on_mouse_left? [Re: VoroneTZ] #488572
01/30/25 16:09
01/30/25 16:09
Joined: Sep 2009
Posts: 1,034
Budapest
Aku_Aku Offline OP
Serious User
Aku_Aku  Offline OP
Serious User

Joined: Sep 2009
Posts: 1,034
Budapest
Well... At my side nothing.
Thank you for the feedback.


Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1