WCM - Das österreichische Computer Magazin Forenübersicht
 

Zurück   WCM Forum > Rat & Tat > Simulationen > Home Cockpit - Das Forum für die "Bastler"

Home Cockpit - Das Forum für die "Bastler" Cockpitbauer tauschen Pläne, Erfahrungen, Meinungen über den Bau von Homecockpits aus...

Microsoft KARRIERECAMPUS

Antwort
 
Themen-Optionen Ansicht
Alt 24.06.2004, 01:53   #1
Erups
Jr. Member
 
Registriert seit: 10.06.2004
Beiträge: 27


Standard Please help with keyboard/mouse

I have tried many times, bui i can't get this thing to work.
It shows it does get triggered (green led blinking), but it doesn't have any consequence.
For example if i want Q i use
On sequence
K+Q;D50;K-Q

but i also tried splitting it in two
On seq
K+Q
Off seq
K-Q

I tried with and without ending ";"

I notice this object has a "cid", so i thought it was to be used with the FSCLIENT app, but if it is running it does not receive anything from FSBUS when a key/mouse event is triggered...
So what's this CID for?
Can you help me figure this object out?
____________________________________
Claudio webmaster Cockpit Italia
Erups ist offline   Mit Zitat antworten
Alt 24.06.2004, 11:44   #2
Totti
Veteran
 
Registriert seit: 04.11.2000
Beiträge: 251


Standard

Hello,
each client has a CID, the server has CID 0. FsClient ust run on the client.
How did you configure it?
Regards,
Thorsten
Totti ist offline   Mit Zitat antworten
Alt 24.06.2004, 12:13   #3
norbert bosch
Jr. Member
 
Registriert seit: 06.11.2002
Alter: 62
Beiträge: 54


Standard

Hi

The E will be send to the program that has the focus at that time.

If you send it to a program on the server (were fsbus router is running) CID has to be 0.

use this
L+120,120;L-120,120;K+E;K-E

put notepad on the left upper corner on your screen.

The L+120,120;L-120,120 sequence means : go with the mouse to 120 120 coordinate and click the left mouse button and release it, then press E and release it. If everytimh works uou will see that when using the switch, notepad gets the focus and you see an E being typed.

If this works you can experiment further with other more useful programs in a cockpit than notepad.

There is one "bug". At my PC this works, but when you change the CID to 1 and then back to 0 again, it does not work anymore. Then you have to reload the .fsb file and it works again.

------------------------------------------
my problem is that I can not send and E (or whatever) to a client. I used :

keyevent:
CID=2
On sequence: WN;K+E;K-E

In Fsclient.ini:

[FSClient]
CID=2

[Notepad]
TopWindowChar="n"
Executable="c:\windows\notepad.exe"
WorkingDirectory="c:\"
Activate=1
Terminate=1
FSBUS_Background=1

I have notepad running on the client and expect to see an E in it but nothing happened.

I do not know if fsuipc-wideserver-wideclient are also necessary for this, but whether I have them running or not makes no difference.


Any help would be much appreciated.
regard


norbert
norbert bosch ist offline   Mit Zitat antworten
Alt 24.06.2004, 14:49   #4
Erups
Jr. Member
 
Registriert seit: 10.06.2004
Beiträge: 27


Standard

Norbert thank you very very much!
It was the "cid 0" bug that was preventing me from obtaining any results!!
Thank you again so much!

I have to backup you on the network problem: i always get network 10049 error.
____________________________________
Claudio webmaster Cockpit Italia
Erups ist offline   Mit Zitat antworten
Alt 24.06.2004, 15:29   #5
norbert bosch
Jr. Member
 
Registriert seit: 06.11.2002
Alter: 62
Beiträge: 54


Standard

glad to help.

That's the smae error number I am getting.

Hopefully anybody can solve this.

Norbert
norbert bosch ist offline   Mit Zitat antworten
Alt 26.06.2004, 00:12   #6
npbosch
Senior Member
 
Registriert seit: 29.01.2004
Beiträge: 151


Standard

Eventually I succeeded in sending keyevents over the network.

I had to set Network broadcast to the IP adres of the client. ( so I can only reach one client).

The WN;K+E;K-E does not send a E to notepad on the client.
With K+E;K-E it went OK

In fsclient.ini:

[Notepad]
TopWindowChar="n"
Executable="c:\windows\notepad.exe"
WorkingDirectory="c:\"
Activate=1
Terminate=1


norbert
npbosch ist offline   Mit Zitat antworten
Antwort


Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
 

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.

Gehe zu


Alle Zeitangaben in WEZ +2. Es ist jetzt 02:09 Uhr.


Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Forum SEO by Zoints
© 2009 FSL Verlag