Free for all: BVT control panel
-
That’s delays As in between key presses, not holding down for An
Amount of time -
well there is
" {a down}{a up}
To hold any key down or then release it enclose the command in braces and add either up or down"
and a delay between them?
-
Yeah, i did try this {e down} and {e up} but didn’t work.
Perhaps I didn’t use correctly but have no idea what would be proper way.Hopefully program guru can help
-
if u give a down only not followed by up wouldn’t that work?
-
Just found something on the TD side, i haven’t tried with pause between the up and down command.
Looks promissing, have to test this later on ( now 0400 hrs overhere )
Re: timed keypresses
by Desrat » Sat Jul 07, 2012 1:28 amCODE: SELECT ALL
[CLICK ME](function macro(“{a down}”);pause(10000);macro(“{a up}”))where a is the key you want to press and 10000 is the length to hold it (1000ms = 1 second)
-
Nah doesn’t work
It does look like the combination CTRL and {e down} doesn’t.
javascript:macro(“^{e down}”);pause(10000);macro(“{e up}”); or javascript:macro(“^{e down}”)
When you use e down, the CTRL isn’t recognised and will give as result the element commands.
Headache and sleepless nights, it cannot be that difficult
-
it might be a syntax error i had the same headbang with the numpad enter but it worked finaly.
-
now guys any good way (mozila maybe???) to spot coordinates so what i want to do is put the whole cockpit there. I dont mind scrolling also i have 3 tablets… the problem is that the server accepts only from one device, the good thing is that u can run the server more then once!!! so it should work… right?
-
Nah doesn’t work
It does look like the combination CTRL and {e down} doesn’t.
javascript:macro(“^{e down}”);pause(10000);macro(“{e up}”); or javascript:macro(“^{e down}”)
When you use e down, the CTRL isn’t recognised and will give as result the element commands.
Headache and sleepless nights, it cannot be that difficult
It doesn’t recognize the ctrl hold down I assume. Try with {CTRLDOWN} ->Holds the CTRL key down until {CTRLUP} is sent.
now guys any good way (mozila maybe???) to spot coordinates so what i want to do is put the whole cockpit there. I dont mind scrolling also i have 3 tablets… the problem is that the server accepts only from one device, the good thing is that u can run the server more then once!!! so it should work… right?
Upload image at http://www.image-maps.com/ and drag & drop the clickable area’s and then let it generate the coordinates html lines (areas).
For the 3 devices, you could make html files for each device, and change the index.html to a page with 3 links, you open index.html from the server app on each device and then click to the correct page with the clickable image for that device. -
{Ctrldown} doesn’t work either in combination.
Look like mission impossible.
-
Got it……
After each command there should be pause else it will not be recognized.
Final line is:
href=‘javascript:macro (“q9”); pause(1000); macro(“{CTRLDOWN}”);pause(2600);macro(“{e down}”);pause(3000);macro(“{CTRLUP}”);pause(1600);macro(“{e up}”);’ alt=“EJECT” title=“EJECT” />
This will call resue choppers (=q9) and then eject from pit.
-
Upload image at http://www.image-maps.com/ and drag & drop the clickable area’s and then let it generate the coordinates html lines (areas).
For the 3 devices, you could make html files for each device, and change the index.html to a page with 3 links, you open index.html from the server app on each device and then click to the correct page with the clickable image for that device.U mean I can use only one server?
As I see it is 3 different files with 3 instances of server running on the pc… cause I have to declare the allowed device IP. -
Haven’t tried that yet. Don’t know if that’ll work.
-
Just got this setup on my ipad and works really well. Many thanks for posting I have been looking for a way use the icp on this device for ages. I tried the one where you have to pay for the app and I just couldn’t get that to run consistently well.
Cheers!!
-
i wonder if anybody experienced the same problem.
The App itself works pretty well, there was just one flaw which causes trouble for me.
The reaction time.Every time i pressed a button it takes nearly 1 second before it was recognized by the game.
I have done a little research and it was because of the image map href stuff.
This is handled like a click event but the click event causes the delay.I refactored the default page to use the touchstart event.
Now it works like a charm, the button press is instantly recognized by the game.Anybody else has similar issues?
-
Focaldesign,
Many thanks for this. Got this setup on my Nexus 10 tonight and it’s working great. Took me a little bit to get the key commands changed, as they weren’t displaying in the program correctly (despite being saved properly in the HTM file), but things eventually started working. Now it’ll just take me a little bit to get used to actually using my N10, rather than the mouse.
I was wondering if you ever had time to make it so the switches moved visually in the program. Guessing not, but it doesn’t hurt to ask. Thanks again.
-
Making the Buttons Move is not a big deal.
Recieving the current State of the Button from the Game would be interesting. -
i wonder if anybody experienced the same problem.
The App itself works pretty well, there was just one flaw which causes trouble for me.
The reaction time.Every time i pressed a button it takes nearly 1 second before it was recognized by the game.
I have done a little research and it was because of the image map href stuff.
This is handled like a click event but the click event causes the delay.I refactored the default page to use the touchstart event.
Now it works like a charm, the button press is instantly recognized by the game.Anybody else has similar issues?
That’s a great improvement. Care to send me your altered html? Then I can update the version I have shared in the first post here.
Focaldesign,
Many thanks for this. Got this setup on my Nexus 10 tonight and it’s working great. Took me a little bit to get the key commands changed, as they weren’t displaying in the program correctly (despite being saved properly in the HTM file), but things eventually started working. Now it’ll just take me a little bit to get used to actually using my N10, rather than the mouse.
I was wondering if you ever had time to make it so the switches moved visually in the program. Guessing not, but it doesn’t hurt to ask. Thanks again.
Unfortunately I didn’t update it anymore when I started using nomex gloves. The gloves give me a better grip on the Cougar, but my iPad doesn’t recognize my touch anymore ofcourse.
Making them change would be possible, but as rampage says, it would only be interesting when the current state of it can get received from the game. There my knowledge stops -
I will send you the html, share it to the community (currently im at work will do it this evening).
But i have to tell you that my current version is a ICP only view.
Since i “only” have an IPad Mini the Buttons where too small for me so i reduced it to the most important part (at least for me) of your template.If i find some spare time i can do it for your original template too.
-
I will send you the html, share it to the community (currently im at work will do it this evening).
But i have to tell you that my current version is a ICP only view.
Since i “only” have an IPad Mini the Buttons where too small for me so i reduced it to the most important part (at least for me) of your template.If i find some spare time i can do it for your original template too.
Thx, no problem if it’s ICP only. I assume it just requires some find/replace stuff in the html-file, no?
Maybe we can combine yours with mine. In one zip file we can add both the larger image for iPads & other larger tablets, and an ICP only file for iPad mini, smaller tablets and phones?