It shouldn't really matter about the resistance but make sure it is a linear pot. The Arduino Leonardo analog inputs are 10bit so you should read a value of 0-1023. You then map this to 0-255 as that is what the Raildriver DLL outputs to the game. I would suggest testing with the analog input example first to make sure it's all working. The pot I'm using is from another project and has a resistor inline with the voltage in so my mapping is different. Val = map(val, 0, 388, 135, 230) Mine is mapping 0-388 (For my pot) to 135-230 (This is so I have one pot just for the throttle half of the combined throttle/brake that's on the Raildriver controller. I Limited my upper value to 230 as above this value seemed to be a deadzone. Val = map(val, 0, 1023, 0, 255) This would map the complete range of the control. #X360ce xinput test not connected serial#.I would add to the list of instructions that for XInput devices, the Xbox controller driver in the device manager (under Xbox peripherals) should be uninstalled after completing all of the steps, and it should be reinstalled after a reboot. Simply uninstalling and reinstalling the Xbox controller driver didn't fix it, so I knew vJoy must've screwed something up really bad in my computer. Initially, I thought this issue was isolated to PCSX2, but then I began to notice that Steam wouldn't recognize my Xbox One/Series X controller profile (I usually get the message "Xbox One Controller - Using configs from " whenever I plug in my controller) and my Steam games couldn't connect with my controller. When I tried mapping my controller, My left and right bumpers would register as a Z rotation axis input, and even weirder, my up d-pad button would either have a random chance of registering as "button 4" or also a Z rotation axis input. Unfortunately, after the vJoy driver was installed, I noticed that my Xbox Series X controller was no longer recognized as an XInput device in my PCSX2 controller settings and was instead only seen as a DirectInput controller, and strangely, it mapped all of my buttons in very strange ways. I have been messing with Opentrack + AITrack for Falcon BMS and BeamNG for the past few days and eventually discovered an option for vJoy as an output, and thought of using it with PCSX2 so I could use my head tracking to control the camera view in Ace Combat 04. I installed vJoy an hour ago to test out an experiment with Opentrack. Thank you so much for posting this, you helped me a whole lot. Then, when i replugged the adapter and reconnected the controller it properly reinstalled everything and it worked propery again. Anyway, in that window i removed the gamecontroller via right click and then also my xbox wireless adapter. There i would have a generic HID-compatible gamecontroller, which is probably why the controller worked a little (like, xbox button worked, i could use the USB-gamecontroller setup utility). The actual controller did NOT show under HID-devicesĪfter removing the vJoy.sys and reinstalling the driver I just went to the device manager, and opened the "devices and printer" window from the "actions" option on top of the window. Xbox wireless adapter showed up in the device manager The usb-gamecontroller calibration/setup tool in windows worked and all buttons worked While i did do these steps, it didn't really work.Ĭontroller kinda works, xbox gamebar button worked for example Where Saitek went wrong with the X-55 Rhino by /u/Goloith HOTAS mount with PVC pipes by /u/irrelevant_queryĪnother HOTAS mount with PVC pipes by /u/vsTerminus Thrustmaster Warthog layout by /u/technosporranĪnother Ikea Markus HOTAS mount by /u/OneQuarterHuman X55 pp_rebindkeys XML file by /u/slugsnot Fixing Toe Brakes on CH Pro Pedals for PTU 2.0 by /u/Goloith
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |