Universal Control Remapper (UCR) - v0.1.22 28th Oct 2018

Post gaming related scripts
Mister SaiZo
Posts: 2
Joined: 09 Apr 2018, 14:49

Re: Universal Control Remapper (UCR) - v0.1.19 26th Dec 2017

11 Apr 2018, 16:24

Another question, how do I use the AxisRangeToButtons?

Let's say I use axis 3 on my stick, and want to setup range 1-5 for it to perform a movement forward, and 6-10 for reverse, can you give me a sample on what I should do?
What are the empty box for?

Thanks again!

EDIT: Nevermind, got it working!!
Jolly_Codger

Re: Universal Control Remapper (UCR) - v0.1.19 26th Dec 2017

14 Apr 2018, 15:29

I'm trying to use ucr to play an fps that requires a gamepad with mouse and keyboard on pc. yes, a game that requires a gamepad on PC. I have it pretty much doing what I want, but the mouse to joy configurations I cannot fully understand. pretty much all the tweaks I do seem to make it worse, there's a moderate dead zone, and it's over sensitive past the deadzone. Idk what to do or how to tweak it, also I'm using x360ce. thanks for any help
daveamerica
Posts: 8
Joined: 21 Nov 2017, 15:55

Re: Universal Control Remapper (UCR) - v0.1.19 26th Dec 2017

14 Apr 2018, 21:31

Hi EvilC,

Is there a way to implement a function to remap Vive controller inputs? Github has a source by matzman666, I'm wondering if it's possible to integrate?

Thanks!
User avatar
evilC
Posts: 4822
Joined: 27 Feb 2014, 12:30

Re: Universal Control Remapper (UCR) - v0.1.19 26th Dec 2017

15 Apr 2018, 09:04

@Jolly_Codger Why are you using x360ce and not the vXBox functionality in UCR?

@daveamerica Thanks for the heads up on that one, was not aware of this guy's work.
It looks like it would be feasible, but currently everything appears to be C/C++, and I only really work in C#
Will see if I can integrate it.

However, this would be integrated into UCR-C#, as I am no longer making major changes to this version of UCR
equack
Posts: 1
Joined: 18 Apr 2018, 16:00

Re: Universal Control Remapper (UCR) - v0.1.19 26th Dec 2017

18 Apr 2018, 17:30

UCR only works for me when its window has focus. As soon as I switch focus to another windows UCR stops working.

Others have reported this problem before but if a workaround was posted my search did not find it.

I'm running Windows 10, and I'm running UCR as an administrator.

For my testing I am mapping a single axis from a joystick controller to vJoy.
The input preview and output preview display correctly within UCR.
My joystick testing program (Pointy's) proves that UCR is working when UCR has focus.

Any help appreciated.
ChairmanSaab
Posts: 7
Joined: 23 Apr 2018, 09:12

Re: Universal Control Remapper (UCR) - v0.1.19 26th Dec 2017

23 Apr 2018, 09:27

Hello,
I want to have an axis where movement from 0% to 100% can be made gradually instead of instant as it is now, is there any plugin that can add "smoothing delay" of let's say 50-100ms for axistoaxis remap? Note: Input "Axis" is actually a button not a slider.

I'm playing a racing game, when i stomp on the "Throttle" button, it instantly goes to 100% causing tire slipping and loss of traction. With aforementioned request i can have smooth transition from 0-100%, same goes for braking too!

Thanks!
ChairmanSaab
Posts: 7
Joined: 23 Apr 2018, 09:12

Re: Universal Control Remapper (UCR) - v0.1.19 26th Dec 2017

23 Apr 2018, 11:39

Thanks for quick reply, evilC

Unfortunately, I'm looking for AxisToAxis solution not ButtonToAxis, i know it sounds stupid, why you need such a thing when the axis itself has 256 or so points of travel range, well because my input axis is actually controlled by an on/off button (in a 3rd party Android app) and my game doesn't let me map actual buttons for throttle/brake.

TDLR: I'm looking for a solution to introduce "RubberBand Effect" in axis controls, where the axis takes time (pref. in milliseconds) to go from low to high.
Darkel

Re: Universal Control Remapper (UCR) - v0.1.19 26th Dec 2017

23 Apr 2018, 14:19

I've got a problem with the software. When I'm not focusing the UCR application, none of my binds take effect.
Therefore, the software is literally unusable. Is there an option I'm missing here, or is my software bugged?
User avatar
evilC
Posts: 4822
Joined: 27 Feb 2014, 12:30

Re: Universal Control Remapper (UCR) - v0.1.19 26th Dec 2017

23 Apr 2018, 15:18

I investigated this "Does not work while inactive" issue, and it turns out AHK is messed up on his PC in some way.
Even with a simple script, while the GUI is not active, GetKeyState() ceases to see any stick input.
ChairmanSaab
Posts: 7
Joined: 23 Apr 2018, 09:12

Re: Universal Control Remapper (UCR) - v0.1.19 26th Dec 2017

24 Apr 2018, 08:32

@evilC Here's a descriptive picture of what I'm trying to convey, Tapping this throttle "button" move Z- axis from resting position to maximum instantly. If the axis could move with a rubberband effect, it would be perfect!

Image
ChairmanSaab
Posts: 7
Joined: 23 Apr 2018, 09:12

Re: Universal Control Remapper (UCR) - v0.1.19 26th Dec 2017

24 Apr 2018, 10:26

I can, I'm not sure if the "incremental mode" even does what i want (self-centering by release of a button). I tried playing around, it seems to go up-down in steps (i put 20%) but requires multiple button presses (at least 5 in my case), very counter-intuitive and slow for racing.

Anyway, I made an illustration of in-game pedals, green is throttle. This is what i seek, mimicking the analogue smoothness of physical pedals with a button controlled axis.

https://i.imgur.com/UCKJrxh.mp4
ChairmanSaab
Posts: 7
Joined: 23 Apr 2018, 09:12

Re: Universal Control Remapper (UCR) - v0.1.19 26th Dec 2017

24 Apr 2018, 12:28

Right, even if it does work it will take 2 buttons to perform an action, One to go from low to high, another for return journey plus no bounce-to-center feature.

Making an axis to do this is way to go, Joysticks are already self-centering, we just need to introduce some lag in the travel range, like 1 millisecond (or 500 microseconds?) between points. If an axis has 512 points in total, we get 256 points each way from the center. By using 1 millisecond delay, it'll take 256ms to reach from zero throttle to full throttle, neat isn't it?

Now the only hiccup is that i am not familiar with Autohotkey and math that might be involved to execute my idea.
User avatar
evilC
Posts: 4822
Joined: 27 Feb 2014, 12:30

Re: Universal Control Remapper (UCR) - v0.1.19 26th Dec 2017

24 Apr 2018, 13:06

"Joysticks are already self-centering" - incorrect. Joysticks (especially virtual ones) do not inherently self-center. The *code driving a virtual stick* may tell it to center, but they do not self-center. Physical throttles do not self-center.
You are also incorrect in assuming this would be simpler with one axis input - it would be simpler with two button inputs, especially seeing as that as what you actually interact with on the phone (two virtual buttons)

To implement this in UCR using an axis for input would require a completely new plugin written from the ground up.
To implement this using two button inputs would require a relatively minor tweak to the ButtonsToAxis plugin (Make incremental mode repeat quickly)
shanovarela

Re: Universal Control Remapper (UCR) - v0.1.19 26th Dec 2017

30 Apr 2018, 08:28

I have remapped keyboard assignments to my joystick using UCR with vJoy. It works fine on Windows, but if I run a program in DOSBox, the keypresses wont work. Any workaround or application that will make DOSBox read the keypresses sent by UCR?

Return to “Gaming Scripts (v1)”

Who is online

Users browsing this forum: No registered users and 30 guests