Foot Switch Key_1=Rapidfire On/Off
12 posts
• Page 1 of 2 • 1, 2
Foot Switch Key_1=Rapidfire On/Off
This Foot Switch, the Scythe USB-1FS-2 USB Foot Switch Version 2 - Single
Available on Amazon; http://a.co/a1UPzwr has been added to the firmware update:
Titan Two Firmware 0.84B. Which became available on March 13, 2017.
I can verify that the foot switch is of good quality and is metal.
J2Kbr was gracious enough to obtain the foot switch and write the firmware update to include this model.
So what does this mean?
We now have a working Foot Switch that can be plugged into Input B while using Input A as our main input (Controller), thus off-loading a command to your foot.
When you click the foot switch the switch outputs a "1".
You use this webpage; https://www.consoletuner.com/wiki/index.php?id=t2:keyboard_gph
And determine that a output of "1" = #define KEY_1 0x1E // 1 or !
thus you use KEY_1 in the code.
You can use this code to toggle anything you wish On and Off.
Available on Amazon; http://a.co/a1UPzwr has been added to the firmware update:
Titan Two Firmware 0.84B. Which became available on March 13, 2017.
I can verify that the foot switch is of good quality and is metal.
J2Kbr was gracious enough to obtain the foot switch and write the firmware update to include this model.
So what does this mean?
We now have a working Foot Switch that can be plugged into Input B while using Input A as our main input (Controller), thus off-loading a command to your foot.
When you click the foot switch the switch outputs a "1".
You use this webpage; https://www.consoletuner.com/wiki/index.php?id=t2:keyboard_gph
And determine that a output of "1" = #define KEY_1 0x1E // 1 or !
thus you use KEY_1 in the code.
You can use this code to toggle anything you wish On and Off.
- Playstation PS4, Astro A50 Gen 3, Elgato Game Capture HD60 S
- 2x Benq 27” Gaming Monitors, Netduma R1 Gaming Router
- Titan One/Two Controller Input Device, Battle Beaver PS4 Controller, SCUF Infinity4PS Controller
-
Vendetta - Sergeant Major of the Army
- Posts: 226
- Joined: Fri Jul 31, 2015 8:40 pm
Re: Foot Switch Key_1=Rapidfire On/Off
Vendetta wrote:J2Kbr was gracious enough to obtain the foot switch
You are being very generous here!! Thank you for sending me the footswitch, without it it would be much harder to add support for it.
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Re: Foot Switch Key_1=Rapidfire On/Off
Hey,
Can this footswtich be used for normal controller functions? Eg use it as "x" for PS4 while also running scripts on the controller?
Thanks.
Can this footswtich be used for normal controller functions? Eg use it as "x" for PS4 while also running scripts on the controller?
Thanks.
-
combo Destroy{ - First Sergeant
- Posts: 49
- Joined: Sun May 14, 2017 4:04 am
Re: Foot Switch Key_1=Rapidfire On/Off
Yes it can. Here I'm using the Foot Switch to activate the Jump button (BUTTON_16) (X Button on PS4 controller) in a Double Jump Combo.
Look at the Keyboard.gpc document https://www.consoletuner.com/wiki/index.php?id=t2:keyboard_gph you'll see that #define KEY_1 equals (0x1E) or (1 or !) so for this particular foot switch which outputs a "1" you'll always use KEY_1. In the combo's you can select any controller button you want.
You could also use the feature "Input Translator" in Gtuner to do the same thing, remapping the (1 or !) to any button you like and use with existing scripts. (see image). This would create a .Git file which you drag and drop into a Titan Two slot which already has a GPC script. The Example in the image below would remap any BUTTON_16 calls to the Foot Switch (1 or !).
Look at the Keyboard.gpc document https://www.consoletuner.com/wiki/index.php?id=t2:keyboard_gph you'll see that #define KEY_1 equals (0x1E) or (1 or !) so for this particular foot switch which outputs a "1" you'll always use KEY_1. In the combo's you can select any controller button you want.
You could also use the feature "Input Translator" in Gtuner to do the same thing, remapping the (1 or !) to any button you like and use with existing scripts. (see image). This would create a .Git file which you drag and drop into a Titan Two slot which already has a GPC script. The Example in the image below would remap any BUTTON_16 calls to the Foot Switch (1 or !).
- Code: Select all
#pragma METAINFO("Dual Foot Switch", 1, 0, "Vendetta")
#include <ps4.gph>
#include <keyboard.gph>
main {
if(key_status(KEY_1)) { //if the foot switch is activated run Double jump
combo_run(DoubleJump);
}
}
// COMBOS ---------------------------------------------------------------------------------------------------------------
combo DoubleJump { //double jump
set_val(BUTTON_16, 100);
wait(100);
set_val(BUTTON_16, 0);
wait(100);
set_val(BUTTON_16, 100);
wait(100);
}
- Playstation PS4, Astro A50 Gen 3, Elgato Game Capture HD60 S
- 2x Benq 27” Gaming Monitors, Netduma R1 Gaming Router
- Titan One/Two Controller Input Device, Battle Beaver PS4 Controller, SCUF Infinity4PS Controller
-
Vendetta - Sergeant Major of the Army
- Posts: 226
- Joined: Fri Jul 31, 2015 8:40 pm
Re: Foot Switch Key_1=Rapidfire On/Off
Thank you for this informative reply. I may purchase a foot switch now..
-
combo Destroy{ - First Sergeant
- Posts: 49
- Joined: Sun May 14, 2017 4:04 am
Re: Foot Switch Key_1=Rapidfire On/Off
No problem, this is the one that we know works right now; Available on Amazon; http://a.co/a1UPzwr
Other models may work but the developer made sure this one did in a firmware update.
Other models may work but the developer made sure this one did in a firmware update.
- Playstation PS4, Astro A50 Gen 3, Elgato Game Capture HD60 S
- 2x Benq 27” Gaming Monitors, Netduma R1 Gaming Router
- Titan One/Two Controller Input Device, Battle Beaver PS4 Controller, SCUF Infinity4PS Controller
-
Vendetta - Sergeant Major of the Army
- Posts: 226
- Joined: Fri Jul 31, 2015 8:40 pm
Re: Foot Switch Key_1=Rapidfire On/Off
I use a Stinky Board (http://www.stinkyboard.com/), it's like a d-pad for your foot. On console it can be used for 4 inputs, on PC it's up to 16.
As long as the bindings in the Stinky Board app aren't mapped to modifier keys (Alt, Ctrl & Shift, which is intended behaviour), it works out of the box with the T2.
Stinky Board is a big and solid device and it's really good at what it does, but it's pretty noisy.
As long as the bindings in the Stinky Board app aren't mapped to modifier keys (Alt, Ctrl & Shift, which is intended behaviour), it works out of the box with the T2.
Stinky Board is a big and solid device and it's really good at what it does, but it's pretty noisy.
Last edited by antithesis on Mon May 15, 2017 5:28 am, edited 1 time in total.
-
antithesis - Colonel
- Posts: 1912
- Joined: Sat May 28, 2016 10:45 pm
Re: Foot Switch Key_1=Rapidfire On/Off
Thanks guys.
I just bought the three swtich scythe. Saw the stinky board after but it also looks really cool.
I just bought the three swtich scythe. Saw the stinky board after but it also looks really cool.
-
combo Destroy{ - First Sergeant
- Posts: 49
- Joined: Sun May 14, 2017 4:04 am
Re: Foot Switch Key_1=Rapidfire On/Off
Also in reference to the scythe. Is it durable enough to use as a jump action in cod without wearing? And how loud is it? Thanks.
-
combo Destroy{ - First Sergeant
- Posts: 49
- Joined: Sun May 14, 2017 4:04 am
Re: Foot Switch Key_1=Rapidfire On/Off
Combo_run Destroy{} wrote:Is it durable enough to use as a jump action in cod without wearing?
Yes I think so. I read some where that the Foot switch is rated for 100,000 clicks. It's metal and sturdy.
It does make a loud click, so if you're player with other gamers they might hear the clicks thru your mic. However, I just pass it off as recording game play on my computer. The Elgato Game Capture unit uses this same foot switch for that very purpose.
See here: https://gaming.help.elgato.com/customer ... es/1020272
I don't play COD, but here's some code to get you started with the jump action.
- Code: Select all
#pragma METAINFO("Jump Foot Switch", 1, 0, "Author")
#include <ps4.gph>
#include <keyboard.gph>
main {
if(key_status(KEY_1)) { //activate foot switch for Jump
combo_run(Jump);
}
}
// COMBOS --------------------------------------------------
combo Jump {
set_val(BUTTON_16, 100); // Change "BUTTON_16" to COD JUMP Button from COD Button Layout
wait(100);
set_val(BUTTON_16, 0); // Change "BUTTON_16" to COD JUMP Button from COD Button Layout
wait(100);
}
- Playstation PS4, Astro A50 Gen 3, Elgato Game Capture HD60 S
- 2x Benq 27” Gaming Monitors, Netduma R1 Gaming Router
- Titan One/Two Controller Input Device, Battle Beaver PS4 Controller, SCUF Infinity4PS Controller
-
Vendetta - Sergeant Major of the Army
- Posts: 226
- Joined: Fri Jul 31, 2015 8:40 pm
12 posts
• Page 1 of 2 • 1, 2
Return to User's Script Documentation
Who is online
Users browsing this forum: No registered users and 79 guests