Mapping X-Arcade TankStick to Multiple Emulators (AHK Script)


Since the TankStick is recognized as Keyboard input device here is a script that allows you to use it with a wide variety of emulators.

You may also find similar topic in HyperSpin official thread here. *Require premium member privilege to view*


I first got my X-Arcade TankStick, also my first two-player arcade stick last week and had been trying to configure it to work with HyperSpin and other commonly used emulators. For the uninitiated, the TankStick features a 2 players 8 buttons layout with 2 additional buttons at the sides (only 1 is usable in each side as the other ones are for the mouse Left and Right click). So in total each player will have 10 usable buttons.

The mighty tank-built X-Arcade TankStick for 2 Plaeyers.


The goal of this script is to simply reuse the same key mappings which you configure for one-time that will works across HyperSpin frontend and other emulators.

So essentially what you need to do is do a one-time program a set of keys in a mode of your choice, such as Mode 2 (You can't modify Mode 1 which came pre-programmed in factory). The main key bindings is based on the default input setttings for RetroArch.

A thing to note that this script is not only limited to be used with the Tankstick layout and you can simply use it in your own usual 6 buttons layout too. The key placement is tailored for the X-Arcade 6 buttons layout and an additional 2 more at the third row. Many had complaint about the third row buttons, but I found it to be a blessing which I can conveniently map to other hotkeys such as RetroArch rewind and slow motion.

FIRST BETA VERSION SCRIPT IS NOW RELEASED! CHECK IT OUT NOW!
Also the PDF User Guide is also available. Print it out for handy reference :-)

----------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------

Overview

This is a ahk script that remap the X-Arcade Tankstick keys to a wide variety of emulators.
The main goal is to use the same key mapping without having to switch between the Modes
in the X-Arcade PCB at the back.

* The default key mapping is based on Retroarch default key map. The keys function are divided into two sets:
1. Hotkeys
Keys that are not related to the game, but rather emulator (e.g. save state, load state, previous save state, test mode, service mode...)

To enter to this mode, keep the Hotkey Enabler pressed while pressing any other buttons.

2. In-Game
Keys that are mapped to the game controller.

It does not requires the Hotkey Enabler to be pressed.

Most of the emulators have key set for Player 1, future release will include bindings for Player 2 as well.


Release Information

2015-07-24
- First BETA release.

Quick Start

Make sure you switch your TankStick in Mode other than the default Mode 1 and program each buttons with the following keys.


Slide the button behind the TankStick to mode other than 0, then enter Programming mode and map the key as shown.

And that's it. Oh and you'll of course have to configure some emulators keys too that binds to the programmed keys.

Currently supported Emulators:
HyperSpin (Front-End)
Daphne
DEmul
Dolphin
ePSXe
MAME
MESS
RetroArch
Sega Model 2 Emulator
SuperModel

Completed 2-Player Keyset Bindings
ePSXe
MAME
RetroArch

 Layout

General Hotkeys


----------------------------------------------------------------------------------------------
HyperSpin Front End
----------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------
MAME
----------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------
RetroArch
----------------------------------------------------------------------------------------------


  ----------------------------------------------------------------------------------------------
DEmul
----------------------------------------------------------------------------------------------



----------------------------------------------------------------------------------------------
Dolphin
----------------------------------------------------------------------------------------------




----------------------------------------------------------------------------------------------
Sega Model 2 Emulator
----------------------------------------------------------------------------------------------



----------------------------------------------------------------------------------------------
Supermodel
----------------------------------------------------------------------------------------------



----------------------------------------------------------------------------------------------
ePSXe
----------------------------------------------------------------------------------------------


Front Ends Key Bindings Configuration

----------------------------------------------------------------------------------------------
HyperHQ (HyperSpin GUI Config)
----------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------
RocketLauncher
----------------------------------------------------------------------------------------------
This is completely optional. Only do this if you want to switch bezels or activate HyperPause.




Emulator Key Bindings Configuration
Make sure you open up each of the following emulator and go to the Input settings and configure each keys to match the screenshots below:

* Not all emulators required configuration.

* When configuring the keys, make sure the NUMLOCK is ON to register Player 2 Numpad inputs correctly.

*The script will enable NUMLOCK ON by pressing the '\' key on your keyboard. Useful for mini keyboard (non full-sized keyboard) without those NumKeys

----------------------------------------------------------------------------------------------
ePSXe
----------------------------------------------------------------------------------------------




----------------------------------------------------------------------------------------------
Daphne
----------------------------------------------------------------------------------------------
No configuration needed.
X-Arcade keys are mapped to Daphne default keymaps.


----------------------------------------------------------------------------------------------
DEmul
----------------------------------------------------------------------------------------------






----------------------------------------------------------------------------------------------
Dolphin
----------------------------------------------------------------------------------------------



----------------------------------------------------------------------------------------------
MAME
----------------------------------------------------------------------------------------------
No configuration needed.
X-Arcade keys are mapped to MAME default keymaps.

----------------------------------------------------------------------------------------------
RetroArch
----------------------------------------------------------------------------------------------
There are two ways to modify the key bindings in RetroArch:

Method 1 - Modify the .cfg files manually.

1. Open retroarch.cfg (or <corename>.cfg inside the /config folder if you're using Per-Core Configuration settings) and replace/overwrite the existing key values with the following:

input_player1_b = "z"
input_player1_y = "a"
input_player1_select = "rshift"
input_player1_start = "enter"
input_player1_up = "up"
input_player1_down = "down"
input_player1_left = "left"
input_player1_right = "right"
input_player1_a = "x"
input_player1_x = "s"
input_player1_l = "q"
input_player1_r = "w"
input_player1_l2 = "e"
input_player1_r2 = "r"
input_player1_l3 = "g"
input_player1_r3 = "b"

input_player2_b = "kp_period"
input_player2_y = "keypad0"
input_player2_select = "multiply"
input_player2_start = "subtract"
input_player2_up = "keypad8"
input_player2_down = "keypad2"
input_player2_left = "keypad4"
input_player2_right = "keypad6"
input_player2_a = "keypad1"
input_player2_x = "keypad7"
input_player2_l = "keypad9"
input_player2_r = "keypad3"
input_player2_l2 = "slash"
input_player2_r2 = "add"
input_player2_l3 = "comma"
input_player2_r3 = "period"

input_volume_up = "equals"
input_volume_down = "minus"

input_enable_hotkey = "v"


Method 2 - Use RGUI and go to Input Bind Configurations and set up these keys accordingly. Make sure NumLock is ON







TODO
  • Per game support for Arcade emulators like Sega Model 2, Sega Model 3 that uses different inputs per game

Summary
So far I find the layout to work comfortably after some game sessions when your muscle memory starts to kicks in. Feel free to leave any comments for more layout suggestions :-)

17 comments

Hi, I have been desperately trying to get this to work. But, none of the hotkeys do except for the bezels.

Mame is not preconfigured by default... and the hotkeys do not exit anything. I left a couple comments in the hyperspin forums.

I am running the executable ahk on Windows 10. If that means anything.

Any help would be great.

Reply

So,I guess you are done with this. :c No response... and its the most complete attempt I can find. But, the hotkey script doesn't load or work half the time. So, I don't know.

Sad face.

Reply

BEST WAY TO HAVE GOOD AMOUNT TO START A GOOD BUSINESS or TO START LIVING A GOOD LIFE..... Hack and take money directly from any ATM Machine Vault with the use of ATM Programmed Card which runs in automatic mode. email (williamshackers@hotmail.com) for how to get it and its cost . .......... EXPLANATION OF HOW THESE CARD WORKS.......... You just slot in these card into any ATM Machine and it will automatically bring up a MENU of 1st VAULT $5,000, 2nd VAULT $10,000, RE-PROGRAMMED, EXIT, CANCEL. Just click on either of the VAULTS, and it will take you to another SUB-MENU of ALL, OTHERS, EXIT, CANCEL. Just click on others and type in the amount you wish to withdraw from the ATM and you have it cashed instantly... Done. ***NOTE: DON'T EVER MAKE THE MISTAKE OF CLICKING THE "ALL" OPTION. BECAUSE IT WILL TAKE OUT ALL THE AMOUNT OF THE SELECTED VAULT. email (williamshackers@hotmail.com). We are located in USA.

Reply

Get rich today and take the risk of transforming your own life.Try and get an ATM card blank today (CLIFFORD JACKSON) of cliffordhackerspays@gmail.com and be among the lucky ones who are benefiting from this card. This ATM card in white set is capable of hacking into any ATM anywhere in the world. I have to know about this ATM card when I was looking for work online about a month ago..It has really changed my life forever and now I can say I'm rich because I am a living testimony. The less money I get in a day with this card is $ 8,000.Every now and then keep pumping money into my account. Although illegal, there is no risk of being caught, as it is programmed so that it can not track, but also has a technique that makes it impossible for the CCTV to detect you..For details on how to get yours today, email hackers: cliffordhackerspays@gmail.com

Reply


Today I'm so rich with the help of Mr Williams Programmed ATM Card i never believe this could really help me out when i saw Matthew given on his testimony on Facebook how he was helped with Mr Williams Blank ATM card so i decided to email him, he replied and i complain to him i need his help, He replied and told me about his card, its a card programmed for random money withdraws without being noticed and can also be used for free online purchases for some stuff. This was shocking and i still had my doubts. Then i gave it a try and asked for the card and agreed to follow instructions his terms and conditions. Hoping and praying it was not fake. 5 days later i received my card from ups courier and tried with the closest ATM machine close to me, It worked like magic. I was able to withdraw up to $6000. This was unbelievable and the happiest day of my life with my little kids. So far i have being able to withdraw up to $78000 without any stress of being caught. I don't know why i am posting this here, i just felt this might help those of us in need of financial stability. blank ATM has really change my life. Be careful because scammers are everywhere. You will see them copy my post and edit it putting their emails in it. Whoever does this to impersonate me will be arrested. The emails above are verified and any duplicate of the contents here will be severely dealt with. If you want to contact him, Here is the email address (williamshackers@hotmail.com) And I believe he will also Change your life...

Reply

BEST WAY TO HAVE GOOD AMOUNT TO START A GOOD BUSINESS or TO START LIVING A GOOD LIFE..... Hack and take money directly from any ATM Machine Vault with the use of ATM Programmed Card which runs in automatic mode. email (williamshackers@hotmail.com) for how to get it and its cost . .......... EXPLANATION OF HOW THESE CARD WORKS.......... You just slot in these card into any ATM Machine and it will automatically bring up a MENU of 1st VAULT $1,000, 2nd VAULT $5,000, RE-PROGRAMMED, EXIT, CANCEL. Just click on either of the VAULTS, and it will take you to another SUB-MENU of ALL, OTHERS, EXIT, CANCEL. Just click on others and type in the amount you wish to withdraw from the ATM and you have it cashed instantly... Done. ***NOTE: DON'T EVER MAKE THE MISTAKE OF CLICKING THE "ALL" OPTION. BECAUSE IT WILL TAKE OUT ALL THE AMOUNT OF THE SELECTED VAULT. email (williamshackers@hotmail.com, We are located in USA.

Reply

Do you want to start up a new business? And you need huge finance to start your business today??? Do you need a trustable loan company with a low interest rate of 3%??? Contact Mr Thomas at Thomasrivera101@outlook.com or call +1-631-542-4685

Reply

Hiv disease for the last 3 years and had pain hard to eat and cough are nightmares,especially the first year At this stage, the immune system is severely weakened, and the risk of contracting opportunistic infections is much greater. However, not everyone with HIV will go on to develop AIDS. The earlier you receive treatment, the better your outcome will be.I started taking ARV to avoid early death but I had faith in God that i would be healed someday.As a Hiv patent we are advise to be taking antiretroviral treatments to reduce our chance of transmitting the virus to others , few weeks ago i came on search on the internet if i could get any information on Hiv treatment with herbal medicine, on my search i saw a testimony of someone who has been healed from Hiv her name was Achima Abelard and other Herpes Virus patent Tasha Moore also giving testimony about this same man,Called Dr Itua Herbal Center.I was moved by the testimony and i contacted him by his Email.drituaherbalcenter@gmail.com We chatted and he send me a bottle of herbal medicine I drank it as he instructed me to.After drinking it he ask me to go for a test that how i ended my suffering life of Hiv patent,I'm cured and free of Arv Pills.I'm forever grateful to him Drituaherbalcenter.Here his contact Number +2348149277967...He assure me he can cure the following disease..Hiv,Cancer,Herpes Virus,Epilepsy, fibromyalgia ,ALS,Hepatitis,Copd,Parkinson disease.Diabetes,Fibroid...

Reply

Hello everyone i am happy to spread my testimony of a strong spell caster called Dr Great. I'm Kaitlyn Houston and i live in USA, my husband and i had a little fight because of that he wanted to divorce me i was so afraid to lose him because i love him very much so i search online for help and i saw a lot of people's testimonies on how Dr Great help them and came out with positive results like Divorces, Cancers, lotteries, fertilities and others. So i emailed him and told him my problem and he told me what to do and I did it as he instructed, 24 hours later he told me he is done with the spell and my husband will no longer divorce me and when my husband came back from work he told me he won't divorce me anymore he said he didn't know what came over him that he is sorry I was so happy and I thank Dr Great for his help If you need Dr Great help email him at infinitylovespell@gmail.com or infinitylovespell@yahoo.com my page https://kaitlynhouston19.blogspot.com you can also add him him on WhatsApp +2348118829899 and he will put an end to your problem

Reply

Hello everyone i am happy to spread my testimony of a strong spell caster called Dr Great. I'm Kaitlyn Houston and i live in USA, my husband and i had a little fight because of that he wanted to divorce me i was so afraid to lose him because i love him very much so i search online for help and i saw a lot of people's testimonies on how Dr Great help them and came out with positive results like Divorces, Cancers, lotteries, fertilities and others. So i emailed him and told him my problem and he told me what to do and I did it as he instructed, 24 hours later he told me he is done with the spell and my husband will no longer divorce me and when my husband came back from work he told me he won't divorce me anymore he said he didn't know what came over him that he is sorry I was so happy and I thank Dr Great for his help If you need Dr Great help email him at infinitylovespell@gmail.com or infinitylovespell@yahoo.com my page https://kaitlynhouston19.blogspot.com you can also add him him on WhatsApp +2348118829899 and he will put an end to your problem

Reply

Hello everyone i am happy to spread my testimony of a strong spell caster called Dr Great. I'm Kaitlyn Houston and i live in USA, my husband and i had a little fight because of that he wanted to divorce me i was so afraid to lose him because i love him very much so i search online for help and i saw a lot of people's testimonies on how Dr Great help them and came out with positive results like Divorces, Cancers, lotteries, fertilities and others. So i emailed him and told him my problem and he told me what to do and I did it as he instructed, 24 hours later he told me he is done with the spell and my husband will no longer divorce me and when my husband came back from work he told me he won't divorce me anymore he said he didn't know what came over him that he is sorry I was so happy and I thank Dr Great for his help If you need Dr Great help email him at infinitylovespell@gmail.com or infinitylovespell@yahoo.com my page https://kaitlynhouston19.blogspot.com you can also add him him on WhatsApp +2348118829899 and he will put an end to your problem

Reply

Hello everyone i am happy to spread my testimony of a strong spell caster called Dr Great. I'm Kaitlyn Houston and i live in USA, my husband and i had a little fight because of that he wanted to divorce me i was so afraid to lose him because i love him very much so i search online for help and i saw a lot of people's testimonies on how Dr Great help them and came out with positive results like Divorces, Cancers, lotteries, fertilities and others. So i emailed him and told him my problem and he told me what to do and I did it as he instructed, 24 hours later he told me he is done with the spell and my husband will no longer divorce me and when my husband came back from work he told me he won't divorce me anymore he said he didn't know what came over him that he is sorry I was so happy and I thank Dr Great for his help If you need Dr Great help email him at infinitylovespell@gmail.com or infinitylovespell@yahoo.com my page https://kaitlynhouston19.blogspot.com you can also add him him on WhatsApp +2348118829899 and he will put an end to your problem

Reply

Hello everyone i am happy to spread my testimony of a strong spell caster called Dr Great. I'm Kaitlyn Houston and i live in USA, my husband and i had a little fight because of that he wanted to divorce me i was so afraid to lose him because i love him very much so i search online for help and i saw a lot of people's testimonies on how Dr Great help them and came out with positive results like Divorces, Cancers, lotteries, fertilities and others. So i emailed him and told him my problem and he told me what to do and I did it as he instructed, 24 hours later he told me he is done with the spell and my husband will no longer divorce me and when my husband came back from work he told me he won't divorce me anymore he said he didn't know what came over him that he is sorry I was so happy and I thank Dr Great for his help If you need Dr Great help email him at infinitylovespell@gmail.com or infinitylovespell@yahoo.com my page https://kaitlynhouston19.blogspot.com you can also add him him on WhatsApp +2348118829899 and he will put an end to your problem

Reply

Hello everyone i am happy to spread my testimony of a strong spell caster called Dr Great. I'm Kaitlyn Houston and i live in USA, my husband and i had a little fight because of that he wanted to divorce me i was so afraid to lose him because i love him very much so i search online for help and i saw a lot of people's testimonies on how Dr Great help them and came out with positive results like Divorces, Cancers, lotteries, fertilities and others. So i emailed him and told him my problem and he told me what to do and I did it as he instructed, 24 hours later he told me he is done with the spell and my husband will no longer divorce me and when my husband came back from work he told me he won't divorce me anymore he said he didn't know what came over him that he is sorry I was so happy and I thank Dr Great for his help If you need Dr Great help email him at infinitylovespell@gmail.com or infinitylovespell@yahoo.com my page https://kaitlynhouston19.blogspot.com you can also add him him on WhatsApp +2348118829899 and he will put an end to your problem

Reply

Hello everyone i am happy to spread my testimony of a strong spell caster called Dr Great. I'm Kaitlyn Houston and i live in USA, my husband and i had a little fight because of that he wanted to divorce me i was so afraid to lose him because i love him very much so i search online for help and i saw a lot of people's testimonies on how Dr Great help them and came out with positive results like Divorces, Cancers, lotteries, fertilities and others. So i emailed him and told him my problem and he told me what to do and I did it as he instructed, 24 hours later he told me he is done with the spell and my husband will no longer divorce me and when my husband came back from work he told me he won't divorce me anymore he said he didn't know what came over him that he is sorry I was so happy and I thank Dr Great for his help If you need Dr Great help email him at infinitylovespell@gmail.com or infinitylovespell@yahoo.com my page https://kaitlynhouston19.blogspot.com you can also add him him on WhatsApp +2348118829899 and he will put an end to your problem

Reply

Hello everyone i am happy to spread my testimony of a strong spell caster called Dr Great. I'm Kaitlyn Houston and i live in USA, my husband and i had a little fight because of that he wanted to divorce me i was so afraid to lose him because i love him very much so i search online for help and i saw a lot of people's testimonies on how Dr Great help them and came out with positive results like Divorces, Cancers, lotteries, fertilities and others. So i emailed him and told him my problem and he told me what to do and I did it as he instructed, 24 hours later he told me he is done with the spell and my husband will no longer divorce me and when my husband came back from work he told me he won't divorce me anymore he said he didn't know what came over him that he is sorry I was so happy and I thank Dr Great for his help If you need Dr Great help email him at infinitylovespell@gmail.com or infinitylovespell@yahoo.com my page https://kaitlynhouston19.blogspot.com you can also add him him on WhatsApp +2348118829899 and he will put an end to your problem

Reply


OUR BLANK ATM CARD SERVICES

We are a professional carding team with a large ring around the globe. With over 2 million ATM infected with our malware and skimmers, we can grab bank card data which include the track 1 and track 2 with the card pin. We in turn clone this cards using the grabbed data into real ATM cards which can be used to withdraw at the ATM or swipe at stores and POS. We sell this cards to all our customers and interested buyers worldwide, the card has a daily withdrawal limit of $2500 on ATM and up to $50,000 spending limit on in stores. You can watch the video below to see already cloned cards ready for shipping.



Here is our price lists for the ATM CARDS :

BALANCE: PRICE

$5,000 $250

$10,000: $500

$20,000: $1000

$35,000: $1700

$50,000: $2500

$100,000: $5000

The prices include the shipping fees and charges, order now: Contact us: (williamshackers@hotmail.com)
FREQUENTLY ASKED QUESTIONS (FAQ)

On the course of rendering this services, we have come across so many clients with different questions so this is aimed at answering few questions you might have:

1: Are you selling money?
No, we are not selling money. If you read our post correctly you will understand how this whole thing works.

2: Is this service available for my country?
Yes, our services are available worldwide
3: How do i get my card after payments?
We ship via DHL, standard shipping usually takes within 2 to 4days. All we need is your full name and address

Order now, contact us with: (williamshackers@hotmail.com).

Reply

Post a Comment

If you found this article or post helpful to you, feel free to enter your comments below ;)