Greetings to all and Peter...
I've searched through this forum and unless I've missed it, I just can't find anything on mapping an axis to a button press. I might be dreaming, but it seems to me that some time ago, I read of something similar, somewhere in the FSUIPC documentation but , like I said, maybe I'm just dreaming. Oh, well...
Anyway, what I'd like to do is this:
I've disassembled a number of cheap USB gamepads and I've soldered wires to the circuit boards to connect switches to for use in FS.
The issue here is that although the game pads have two "axes" (x and y) as shown in the gamepad controller's properties and calibration applets in Control Panel, the corresponding controls in the gamepad are actually just buttons giving a centered response when not pressed and a full deflection when pressed. I've disassembled at least four different kinds of gamepads and this is true for all of them so far. (Of course, there are other gamepads that do have true axes with potentiometer controls inside, but here, I'm referring to their cheaper cousins.)
I was hoping that there might currently, or in the future, be a way to map these axes to button presses using FSUIPC. For instance, when x axis on device 4 goes to full positive delflection, send such-and-such button/keypress/control. Likewise for full negative deflection as well as pos and neg deflections on the y axis.
This would be very helpful because it would make available four more buttons per gamepad. These buttons are otherwise useless because, as I've mentioned, they are not a potentiometer -- though Windows/FS sees them as axes -- just on/off buttons, and zero/full delfection would hardly be useful with any existing axis of control that FS offers.
Would anyone like to point me in the right direction or let me down gently if there is no hope? I would sure appreciate it.
--
Dennis Diedrich
By the way, Peter, I've been reading this forum and I've noticed the dedication you have to helping everyone who asks for assistance. It makes me feel very good about the money I spent on FSUIPC and WideFS. Even if you can't help me, thanks for all your efforts!