Universal Control Remapper (UCR) - v0.1.16 11th Jun 2017

Post gaming related scripts
zudeee
Posts: 1
Joined: 14 Jul 2017, 12:38

Re: Universal Control Remapper (UCR) - v0.1.16 11th Jun 2017

14 Jul 2017, 13:01

Hi everybody! I hope somebody on this forum can help me. I try to explain my problem: I am using kinoConsole to stream games from my PC to my android tablet. I have an xbox 360 controller connected to my tablet and when I start to stream a game (kinoConsole uses some kind of virtual Xbox controller emulation) I can play with my controller. BUT kinoConsole translates the D-PAD buttons to the arrow keys. And some games I have can't handle this. I know that has all nothing to do with UCR but I thought that UCR would be great to combine the (already virtual) xbox controller and the keyboard arrow keys into one new virtual controller. But here comes my problem. I can map all the buttons axes and triggers but not the D-PAD. When I press the D-PAD buttons when the red window appears just nothing happens. The gui itself reacts to the D-PAD as if the arrow key get pressed (in the menu for example). I checked with a program called keycodes and it seems that the D-PAD buttons really gets translated to arrow keys. But something must be different. I tried to get in contact with the kinoConsole support after 6 unanswered mails I gave up. So, has anybody an idea or a hint what else I can try?
H_Bear
Posts: 5
Joined: 16 Jul 2017, 22:30

Re: Universal Control Remapper (UCR) - v0.1.16 11th Jun 2017

16 Jul 2017, 22:37

Thank you for UCR it resolves a lot of problems found with different profiling software.

However I have a problem in that UCR only recognises six axes in the drop-down, though my TUSBA throttle has eight axes.

Is there any way I can adjust this?

Thanks,

- Bear
H_Bear
Posts: 5
Joined: 16 Jul 2017, 22:30

Re: Universal Control Remapper (UCR) - v0.1.16 11th Jun 2017

17 Jul 2017, 03:45

Another query, how can I select only mousewheel up or down as an output?

If I try with the GUI the bind mode does not complete unless I also press a key or mouse button.

Then I have WheelUp + LButton, but I only want WheelUp or WheelDown.

Thanks,

- Bear
User avatar
evilC
Posts: 3316
Joined: 27 Feb 2014, 12:30

Re: Universal Control Remapper (UCR) - v0.1.16 11th Jun 2017

17 Jul 2017, 05:17

Mouse Wheel is unique insofar as it only generates a "press" event and not a "release" event.
I know in the input code, I simulate a release event for mouse wheel, but maybe I forgot to do it for output.
If I did, that would probably exhibit the behavior you describe.
I will look into it.
User avatar
evilC
Posts: 3316
Joined: 27 Feb 2014, 12:30

Re: Universal Control Remapper (UCR) - v0.1.16 11th Jun 2017

17 Jul 2017, 05:21

H_Bear wrote:Thank you for UCR it resolves a lot of problems found with different profiling software.

However I have a problem in that UCR only recognises six axes in the drop-down, though my TUSBA throttle has eight axes.

Is there any way I can adjust this?

Thanks,

- Bear

AHK uses WinMM for joystick support, which only supports 6 axes, 32 buttons, 1 POV.
At the moment, UCR suffers from these limitations.

I do, however, have some new proof of concept code that allows AHK to read all joystick axes and buttons, but it is currently not integrated into UCR.

I am working towards a new version of UCR that will be able to use this new system, but it is likely some months off.
H_Bear
Posts: 5
Joined: 16 Jul 2017, 22:30

Re: Universal Control Remapper (UCR) - v0.1.16 11th Jun 2017

17 Jul 2017, 06:57

Thank you for your time evilC.

The mousewheel would be a great benefit to me, the joystick axis is an easy workaround as I can simply map the throttle without reference to UCR.

This software is fantastic, I have been searching for this for years!

Cheers,

- Bear
H_Bear
Posts: 5
Joined: 16 Jul 2017, 22:30

Re: Universal Control Remapper (UCR) - v0.1.16 11th Jun 2017

18 Jul 2017, 01:42

I also can't seem to make the 'Profile Inherits Plugins from parent' function stick.

I can select the checkbox then save, but when I reload the script or close and reopen UCR the box is unchecked and the buttons do not inherit.

- Bear
sllewji

Xbox One controller to vJoy Axis

22 Jul 2017, 01:32

Hello evilC.

Thanks for taking the time to put UCR together.
I recently aquired a new XBox One controller that I want to use with Elite Dangerous.

My goal is to map the triggers to a single axis so the game can use them as a rudder for yaw control - the game doesn't support this.

I have installed vJoy and UCR, and mapped the triggers to a vJoy RX axis.

Now the mapping works fine, as long as UCR has focus, but as soon as I switch to the game, the mapping is no longer active.

I also have an Xbox 360 controller and have a duplicate profile. in this case the mapping continues to work when I switch focus to the game.

Any Ideas?
User avatar
evilC
Posts: 3316
Joined: 27 Feb 2014, 12:30

Re: Universal Control Remapper (UCR) - v0.1.16 11th Jun 2017

22 Jul 2017, 08:25

@H_Bear: I implemented the fix for mouse wheel. I have not released it yet, could you test it for me please?
Download the zip attached to this post and extract the two files into the Threads folder.

@sllewji: Could you clarify please?
Does this happen with all apps, or just E:D?
ie if you open Notepad, does UCR stop working while notepad is active?
Attachments
MouseWheel fix.zip
(8.83 KiB) Downloaded 7 times
H_Bear
Posts: 5
Joined: 16 Jul 2017, 22:30

Re: Universal Control Remapper (UCR) - v0.1.16 11th Jun 2017

22 Jul 2017, 23:50

evilC wrote:@H_Bear: I implemented the fix for mouse wheel. I have not released it yet, could you test it for me please?
Download the zip attached to this post and extract the two files into the Threads folder.


It works perfectly, many thanks @evilC !

- Bear
User avatar
evilC
Posts: 3316
Joined: 27 Feb 2014, 12:30

Re: Universal Control Remapper (UCR) - v0.1.16 11th Jun 2017

23 Jul 2017, 10:38

HUGE NEWS

I just got HidGuardian / HidCerberus working and added experimental support for...

HIDING JOYSTICKS FROM GAMES IN UCR
Now we can hide DirectInput sticks (Basically anything except XBox controllers) from games, we can now do true remapping in UCR!

To test it out:
  1. Go to the WhiteKnight thread and download the zip
    Extract it to your UCR\Resources folder - you should end up with a UCR\Resources\WhiteKnight folder
    Follow the Setup instructions in the WhiteKnight thread to install the driver.
  2. Edit UCR.ahk, add these two lines to the start, just after #NoEnv:

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

    #NoEnv

    #Include Resources\WhiteKnight\WhiteKnight.ahk
    wk := new WhiteKnight()
  3. When you go to the HidGuardian config page while UCR is running, the "Currently whitelisted process IDs" box should contain a number (The process ID of UCR).
    If this is the case, UCR should be the only thing that can see the stick
Echocookie

Re: Universal Control Remapper (UCR) - v0.1.16 11th Jun 2017

24 Jul 2017, 19:13

Sorry, but I am probably going to sound very stupid for asking this question.
I downloaded a profile from http://www74.zippyshare.com/v/6c7Nm5rI/file.html that remaps the Nintendo Joy-Con as Xbox controllers. I have everything working and it comes with multiple profiles, but none of the profiles have enough buttons. Basically I am asking how to add another button, because there is only one button missing - left trigger - from one of the profiles, and it is in another profile anyway. If there is some way I can copy the code from that button in the profile that has it to the other one it would really help me out. Thanks!
sllewji
Posts: 1
Joined: 22 Jul 2017, 01:35

Re: Universal Control Remapper (UCR) - v0.1.16 11th Jun 2017

25 Jul 2017, 00:14

Hi evilC,

All applications.

I have the vJoyMonitor running, and can see the axes moving when I move the controller sticks ONLY when UCR has focus.

Regards,
sllewji
darkcity
Posts: 1
Joined: Today, 01:18

RPCS3

Today, 02:08

First, thanks to evilC for this fantastic application.

I'm trying to play my backup game Demon's Souls with PS3's emulator name RPCS3 (https://rpcs3.net) .
You can use keyboard to play the game, but i would like to use my mouse to emulate right analog (to look around).

RPCS3 key binding https://ibb.co/f3WcfQ

¿What is the best solution for that implementation?

I have tried MouseToButton https://ibb.co/drZSEk, but i don't understand the options, and it's not moving smouthly.

¿How the options, Timing and Limit, work?
¿Any suggestions?

Thank you all

Return to “Gaming”

Who is online

Users browsing this forum: No registered users and 4 guests