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

Post gaming related scripts
Oliver
Posts: 27
Joined: 11 Jan 2018, 10:50

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

13 Jan 2018, 07:37

Ah OK! I thought I had to actually use it but it's merely an example of the GUI, got it.
User avatar
evilC
Posts: 4235
Joined: 27 Feb 2014, 12:30

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

13 Jan 2018, 08:50

I made it a bit more production ready - you no longer need to add 0,0 at the start and 100,100 at the end.
I also added a little bit of validation / ordering logic

I packaged it all up into a UCR plugin - hopefully this should be functional and do what you need

Code: [Select all] [Expand] [Download] (AxisToAxisDetent.ahk)GeSHi © Codebox Plus

Oliver
Posts: 27
Joined: 11 Jan 2018, 10:50

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

13 Jan 2018, 09:33

Yeah basically [0,0] at the start and [100,100] at the end do not need to be user selectable as they have to be there anyway.

Gonna try it in a couple of hours! The GUI and all seems to work perfectly so far.
Helgef
Posts: 3033
Joined: 17 Jul 2016, 01:02
Contact:

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

13 Jan 2018, 12:34

It seems fine evilC :thumbup:. (As far as I can see using the vJoy feeder)
Oliver
Posts: 27
Joined: 11 Jan 2018, 10:50

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

13 Jan 2018, 13:13

Whatever you do, I'm happy, because it works!
User avatar
evilC
Posts: 4235
Joined: 27 Feb 2014, 12:30

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

13 Jan 2018, 13:57

OK, I made the settings box visible, plus added a "Copy Current" button to place the current value of the input axis into the Input box of the GuiControl.

Image

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus

Helgef
Posts: 3033
Joined: 17 Jul 2016, 01:02
Contact:

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

13 Jan 2018, 14:03

Maybe you should allow to add points with the same breakpoint, eg, [50,0] [50,70] causes a jump (step) after 50. Although, the difference between that and [50,0] [50.01, 70] isn't noticable. Also, the listview is too small (win7, normal dpi), when I add a point I get scroll-bars, which lies inside the listview.

Cheers.
Oliver
Posts: 27
Joined: 11 Jan 2018, 10:50

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

14 Jan 2018, 04:54

Gents, the copy current function does not take into account the invert checkbox. E.g. when I place my physical throttle at 70% (30% in UCR's terms), select invert, and hit copy current, it creates a breapoint at 30% instead of 70%.
User avatar
evilC
Posts: 4235
Joined: 27 Feb 2014, 12:30

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

14 Jan 2018, 13:06

If invert is selected, clicking "Copy Current" adds inverted value.

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus

Last edited by evilC on 15 Jan 2018, 05:32, edited 1 time in total.
Oliver
Posts: 27
Joined: 11 Jan 2018, 10:50

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

15 Jan 2018, 01:06

Hmm, not for me it doesn't.
Oliver
Posts: 27
Joined: 11 Jan 2018, 10:50

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

15 Jan 2018, 13:52

Well, to put it bluntly, I've got everything I asked for.

What are your plans? Or you looking to further tweak or add settings? I'd say it serves it's purpose very well right now! Maybe indeed the option to set the values and have a graph as visual representation of what you've just set.
Helgef
Posts: 3033
Joined: 17 Jul 2016, 01:02
Contact:

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

15 Jan 2018, 14:03

The ListView problem I had was easy to fix by changing to

in AxisToAxisDetent.SegmentControl.__new.

Cheers. :wave:
User avatar
evilC
Posts: 4235
Joined: 27 Feb 2014, 12:30

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

15 Jan 2018, 15:17

Looks like the listview was simply not wide enough to properly accommodate 100.00, so I made it bigger.
Barring any other issues, I think this one should be the final version:

Code: [Select all] [Expand] [Download] (AxisToAxisDetent.ahk)GeSHi © Codebox Plus


Return to “Gaming”

Who is online

Users browsing this forum: No registered users and 19 guests