Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news


  

Author Topic: Xbox 360 XInput keyboard hack (works for SFIV, MKK, SFxTekken, Etc)  (Read 100516 times)

0 Members and 2 Guests are viewing this topic.

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 15649
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Street Fighter IV: 2 keyboard patch! 64 OS support (no PPJoy needed)
« Reply #120 on: September 22, 2015, 01:40:14 am »
Howard,
If you scroll through the thread you'll see a thread by TheManuel with settings for all the pc fighting games.  Before switching to hacked fightpads, I used this for most of the steam games on my cab.  The one game it won't work with is Injustice (and I assume mkx).  That requires some type of "hook" setting this old version doesn't support.  I know this because it's basically an old version of x360ce.  We've bugged the x360ce devs to add back keyboard support, but they don't seem interested.  Not sure if it's open source, but if so I'd start there if you're interested.  There is some info in the Injustice thread about which revision of x360ce this is based on.

I haven't wrote a dll since college, especially a C++ dll, but there wouldn't be much to this one.... just read the ini files for settings and add a keyboard hook.  I'd probably go the 360ce route as well and add in joystick support and force-feedback. 

I'm looking at the xinput specs now:

https://msdn.microsoft.com/en-us/library/windows/desktop/microsoft.directx_sdk.reference.xinputgetstate(v=vs.85).aspx

It looks like they've added a few since windows 8, but most are irrelevant. 

For battery level and the audio stuff I can just return a null value... keyboard state refers to the chatpad.... get capabilities could always return the default gamepad.... So all that's left is get state (read the joystick) and set state (write the rumble).  I think there are one or two hidden functions as well... like I know at a certain offset (unlabeled) you can read the guide button's status along with the joystick status. 

But yeah, I'll look into 360ce when I get a chance... if they've already done most of this it would be exceedingly trivial to add in a keyboard hook. 

I could do some cool stuff with the battery status.... my guess is on modern pc games the game pauses when the battery is low just like on the consoles (I used wired pads on my pc).  If that's the case it could be used to auto-pause any game and bring up a menu or what have you.

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 8032
  • My arcade cabinet has a cup holder.
Re: Street Fighter IV: 2 keyboard patch! 64 OS support (no PPJoy needed)
« Reply #121 on: September 22, 2015, 07:39:51 am »
Any specific wording that you'd recommend?

How about 360 gamepad 2 keyboard hack (works for street fighter iv and many other games).
Sounds backwards.
How about:

Keyboard encoder to virtual xbox360 controller for pc games (SFIV, MKK, SFxTekken, Etc)?



« Last Edit: September 22, 2015, 12:15:21 pm by BadMouth »

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 15649
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Street Fighter IV: 2 keyboard patch! 64 OS support (no PPJoy needed)
« Reply #122 on: September 22, 2015, 12:35:39 pm »
Much better.  :)

DeLuSioNal29

  • Global Moderator
  • Trade Count: (+6)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4562
  • Build the impossible -"There is no Spoon"
    • DeLuSioNaL's YouTube Videos
I changed it to this:
Xbox 360 XInput keyboard hack (works for SFIV, MKK, SFxTekken, Etc)

Stop by my Youtube channel and leave a comment:

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 15649
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Xbox 360 XInput keyboard hack (works for SFIV, MKK, SFxTekken, Etc)
« Reply #124 on: September 23, 2015, 03:09:42 pm »
Badmouth:  If you'd link me to the thread you were talking about earlier I'd appreciate it.  I doubt I'll have time to do all the stuff I mentioned, but fixing the broken keyboard stuff.... if it's possible I can do that.  Keyboard hooking is my thing.  ;)

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 8032
  • My arcade cabinet has a cup holder.
Re: Xbox 360 XInput keyboard hack (works for SFIV, MKK, SFxTekken, Etc)
« Reply #125 on: September 23, 2015, 07:45:52 pm »
Badmouth:  If you'd link me to the thread you were talking about earlier I'd appreciate it.  I doubt I'll have time to do all the stuff I mentioned, but fixing the broken keyboard stuff.... if it's possible I can do that.  Keyboard hooking is my thing.  ;)

PM sent.

rablack97

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2110
  • If you don't try, you have no chance at innovation
Re: Xbox 360 XInput keyboard hack (works for SFIV, MKK, SFxTekken, Etc)
« Reply #126 on: November 08, 2015, 10:34:06 am »
So was this upgraded and confirmed working with MKX?
   

2016 Texas Pinball Festival - Best Arcade In Show - MKX

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 15649
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Xbox 360 XInput keyboard hack (works for SFIV, MKK, SFxTekken, Etc)
« Reply #127 on: November 09, 2015, 01:37:14 am »
If you are talking about me, honestly I haven't gotten a chance yet.  Since warm weather will be a thing of the past pretty soon I've been concentrating my efforts towards finishing my racing rig.  I'll get to all this software stuff when I'm stuck inside this winter. 

rablack97

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2110
  • If you don't try, you have no chance at innovation
Re: Xbox 360 XInput keyboard hack (works for SFIV, MKK, SFxTekken, Etc)
« Reply #128 on: November 09, 2015, 08:41:11 am »
Nah no rush man, if just says WORKS in the the title, so i'm assuming it was good to go.

I got Vjoy working fine, but it does have a few focus problems, which are being handled with AHK scripts.  Anything to make things better im all for it, which is why i was inquiring.

 :cheers:
   

2016 Texas Pinball Festival - Best Arcade In Show - MKX

jimbo19

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
Re: Xbox 360 XInput keyboard hack (works for SFIV, MKK, SFxTekken, Etc)
« Reply #129 on: February 20, 2016, 06:35:39 pm »
Hi, di you have the same patch (2 player on keyboard) for SF5 ?
I spend 1 week searching and still not found  :banghead:


romshark

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 286
  • Arcade and Robotics enthusiast
Re: Xbox 360 XInput keyboard hack (works for SFIV, MKK, SFxTekken, Etc)
« Reply #130 on: February 28, 2016, 10:03:32 pm »
A person named Jimbo on the shoryuken Forums claims to have figured out Street Fighter V. I haven't gotten it running myself personally. The post is Here (bottom of the page when I posted this.)

Quote from: jimbo
I FOUND IT !!
I need to use Vjoy and x360ce. I'd tried vjoy last week but I didn't download the full package, maybe only the virtual driver or an alternate version... HUGE mistake !

What you need is =
VJoy Virtual Joystick Driver v1.2 (Includes key to joy application)
X360ce

steps =
1- install Vjoy
2- Configure 2 virtual joystick
3- Copy x360ce in steam/steamapps/common/streetfighterV/binairie/win64
4- Launch x360ce and configure 2 x360 virtal gamepad
5- Launch the game

I must do some more test, but it's a very huge step to solve this problem ! :)

By the way, x360ce fully work with SF5, I sur someone who know how to mod x360ce, can built the same patch as for SF4 so we can skip using Vjoy.

jimbo19

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
Re: Xbox 360 XInput keyboard hack (works for SFIV, MKK, SFxTekken, Etc)
« Reply #131 on: March 05, 2016, 06:52:43 pm »
A person named Jimbo on the shoryuken Forums claims to have figured out Street Fighter V. I haven't gotten it running myself personally. The post is Here (bottom of the page when I posted this.)

Quote from: jimbo
I FOUND IT !!
I need to use Vjoy and x360ce. I'd tried vjoy last week but I didn't download the full package, maybe only the virtual driver or an alternate version... HUGE mistake !

What you need is =
VJoy Virtual Joystick Driver v1.2 (Includes key to joy application)
X360ce

steps =
1- install Vjoy
2- Configure 2 virtual joystick
3- Copy x360ce in steam/steamapps/common/streetfighterV/binairie/win64
4- Launch x360ce and configure 2 x360 virtal gamepad
5- Launch the game

I must do some more test, but it's a very huge step to solve this problem ! :)

By the way, x360ce fully work with SF5, I sur someone who know how to mod x360ce, can built the same patch as for SF4 so we can skip using Vjoy.

Yeah it's me lol
but this trick I got conflict with my other games on my arcade cabinet (MAME + SF4). The perfect way is to got a x360kb for sf5.

romshark

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 286
  • Arcade and Robotics enthusiast
Re: Xbox 360 XInput keyboard hack (works for SFIV, MKK, SFxTekken, Etc)
« Reply #132 on: March 06, 2016, 01:20:33 am »
Whoops. I didn't even realize the similar usernames.

TheManuel

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 717
  • On and off hobbyist
Re: Xbox 360 XInput keyboard hack (works for SFIV, MKK, SFxTekken, Etc)
« Reply #133 on: March 09, 2016, 04:30:05 pm »
Yeah it's me lol
but this trick I got conflict with my other games on my arcade cabinet (MAME + SF4). The perfect way is to got a x360kb for sf5.

I don't have SFV myself but when I set up Injustice GAU with vjoy, I was having a conflict with SFIV and other games.  What I did was to use an AHK script to enable the vjoy driver before launching Injustice, then disable it again upon exit.  This is done with devcon, a Windows utility and it works great, even in Windows 10.

You can see the code I used in this post.
"The Manuel"

MiahXGaming

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 28
  • Legend
    • X-Arcade
Re: Xbox 360 XInput keyboard hack (works for SFIV, MKK, SFxTekken, Etc)
« Reply #134 on: May 26, 2016, 02:31:03 pm »
I don't know if it's helpful here, but here are all the options we've come across: https://support.xgaming.com/support/solutions/articles/12000003227

The XOutput is open source and you don't have to drop a file in each game directory. Maybe someone can make it keyboard directly to Xinput.

fablog

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 195
Re: Xbox 360 XInput keyboard hack (works for SFIV, MKK, SFxTekken, Etc)
« Reply #135 on: May 26, 2016, 08:48:05 pm »
Thx Man, I'll try it later

Sent from my Nexus 7 using Tapatalk


ArcadeBliss

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 161
Re: Xbox 360 XInput keyboard hack (works for SFIV, MKK, SFxTekken, Etc)
« Reply #136 on: October 03, 2016, 09:11:32 am »
Someone did make a keyboard to XInput mapper directly. Go here --> http://forum.arcadecontrols.com/index.php/topic,151830.0.html

epic

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
Re: Xbox 360 XInput keyboard hack (works for SFIV, MKK, SFxTekken, Etc)
« Reply #137 on: October 10, 2016, 09:13:56 am »
I cannot figure this out. Also, the patch is not available to download.

I have a JPAC in a KI2 cab and I have SF4 installed   (ArcadeVGA 5000). I can't map multiple button presses for things like Focus, etc. Any help would be VERY MUCH appreciated!

Lamaman1971

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 40
  • I want to build my own arcade controls!
Re: Xbox 360 XInput keyboard hack (works for SFIV, MKK, SFxTekken, Etc)
« Reply #138 on: January 21, 2017, 06:43:00 pm »
Hi everyone, got this working with mkk no problems but, feeling cocky, tried to get it working with street fighter x tekken and, well, I think the DLL and config file are working ok, but I can't seem to turn off the keyboard input in the game menus which means every UP (for example) is sent twice... odd eh?

Anyone else got this game working?

Cheers
« Last Edit: January 21, 2017, 07:47:01 pm by Lamaman1971 »

Lamaman1971

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 40
  • I want to build my own arcade controls!
Re: Xbox 360 XInput keyboard hack (works for SFIV, MKK, SFxTekken, Etc)
« Reply #139 on: January 23, 2017, 08:30:42 am »
Anyway, conscious I am responding to my own question I will make this brief. SFxTekken doesn't need the keyboard hack - at least the version I'm using from Steam doesn't. After a small amount of time messing with the controls it turns out that you can configure 2 player keyboard input directly from the native interface - there are lots of keys though so I'm relieved Ive got a 4 player CP to spread out some of the extra functions.

For the official record I can confirm that MKK does need the hack and works perfectly with it.

Titchgamer

  • Trade Count: (0)
  • Full Member
  • ***
  • Online Online
  • Posts: 1832
  • I have a gaming addiction.....
Re: Xbox 360 XInput keyboard hack (works for SFIV, MKK, SFxTekken, Etc)
« Reply #140 on: April 30, 2017, 05:06:45 am »
Links appear to be broken atm but for anyone else:
http://www.mediafire.com/file/qoltmodim0i/x360kb.ZIP

  
 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31