Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
4 registered members (NewbieZorro, Grant, TipmyPip, AndrewAMD), 12,885 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Right click button possible? #261137
04/16/09 00:04
04/16/09 00:04
Joined: Sep 2008
Posts: 69
U
upsidedownman Offline OP
Junior Member
upsidedownman  Offline OP
Junior Member
U

Joined: Sep 2008
Posts: 69
Is it possible to have buttons notice right clicks and not only left clicks? Doesn't say anything in the manual about it.

Re: Right click button possible? [Re: upsidedownman] #261151
04/16/09 00:51
04/16/09 00:51
Joined: Aug 2003
Posts: 7,440
Red Dwarf
Michael_Schwarz Offline
Senior Expert
Michael_Schwarz  Offline
Senior Expert

Joined: Aug 2003
Posts: 7,440
Red Dwarf


you have to think a bit creative, but isn't that the fun of 3DGS? laugh

Last edited by Michael_Schwarz; 04/16/09 00:51.

"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
Re: Right click button possible? [Re: Michael_Schwarz] #261153
04/16/09 01:10
04/16/09 01:10
Joined: Sep 2008
Posts: 69
U
upsidedownman Offline OP
Junior Member
upsidedownman  Offline OP
Junior Member
U

Joined: Sep 2008
Posts: 69
I was thinking of doing that but it would mean more code for each button and its positions but i guess i have no choice. Thanks.

Re: Right click button possible? [Re: upsidedownman] #261189
04/16/09 09:21
04/16/09 09:21
Joined: Jul 2008
Posts: 553
Singapore
delinkx Offline
User
delinkx  Offline
User

Joined: Jul 2008
Posts: 553
Singapore
i guess u want both the mouse buttons to do the same function. so u define something like this:

Code:
funtion myMouse()
{
 //here, do the mouse stuffs
}

void main()
{
 ...
 on_mouse_left = myMouse;
 on_mouse_right = myMouse;
 on_mouse_middle = myMouse;
 ...
}




A7 commercial Team / VC++ 2008 Pro
homepage | twitter | facebook

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