Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by vicknick. 06/13/24 08:51
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (Ayumi), 1,170 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19059 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: mouse [Re: DJBMASTER] #291658
09/27/09 10:52
09/27/09 10:52
Joined: Jul 2008
Posts: 1,178
England
M
MrGuest Offline
Serious User
MrGuest  Offline
Serious User
M

Joined: Jul 2008
Posts: 1,178
England
couldn't you just call the same function the mouse is using?
on_space = on_mouse_left?

Re: mouse [Re: MrGuest] #291661
09/27/09 11:14
09/27/09 11:14
Joined: Jul 2007
Posts: 959
nl
F
flits Offline OP
User
flits  Offline OP
User
F

Joined: Jul 2007
Posts: 959
nl
i just bought a bluetooth device and use fireball's plugin with the wiimote
now i am trying to make a mode so you can play games like css

i know that i could use glovepie and 20 other programs but the scripting langau isnt that easy for me so it would be cool if i can make it my own

if no one has a idea i would ask the developers

thx flits


"empty"
Re: mouse [Re: flits] #291688
09/27/09 14:49
09/27/09 14:49
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
hmm ok, i'll check this in C++ to see if there is an error with the code...

Edit > nope nothing wrong with the code in C++, fires a key press no problem. Also tried overriding the WM_KEYDOWN message in lite-c to see if the message was being ignored, and it didnt fire so it seems it isnt being sent.

You need to ask JCL what the problem is because as far as i can see, it should be working.

Last edited by DJBMASTER; 09/27/09 15:10.
Re: mouse [Re: DJBMASTER] #291783
09/27/09 21:12
09/27/09 21:12
Joined: Jul 2008
Posts: 1,178
England
M
MrGuest Offline
Serious User
MrGuest  Offline
Serious User
M

Joined: Jul 2008
Posts: 1,178
England
just stumbled across
Code:
sys_message(STRING* message)



that should be able to do what you're after? grin

Re: mouse [Re: MrGuest] #291787
09/27/09 21:33
09/27/09 21:33
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
Originally Posted By: MrGuest
just stumbled across
Code:
sys_message(STRING* message)



that should be able to do what you're after? grin


That might work although it states in the manual "sys_message should not be used to send messages to the engine window itself".

Re: mouse [Re: DJBMASTER] #292055
09/29/09 21:30
09/29/09 21:30
Joined: Jul 2004
Posts: 1,710
MMike Offline
Serious User
MMike  Offline
Serious User

Joined: Jul 2004
Posts: 1,710
the send input mouse, how many can be at a current same time, i mean, can i send 2 mouse events at the same time, allowing multi touch? (just wondering)

Re: mouse [Re: MMike] #292059
09/29/09 22:07
09/29/09 22:07
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
You can just call the function twice, directly after each other although they wont be simulated at the same time because they have to be injected into the input stream and handled by the recieving window's procedure. This will of course take some time, but it will still be pretty fast.

Page 2 of 2 1 2

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | 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