Button mapping and sensor bar help!

Wiimote tutorials, configurations and GPC scripts (FPS like in Nintendo Wii/WiiU).

Moderator: OFC-Giorgio

Button mapping and sensor bar help!

Postby Eyecandy » Fri Sep 30, 2016 6:01 pm

So im not the best with tech sometimes but im trying to get my wii remote and nunchuk working on my ps4. Im at the stage now where i can navigate through the ps4 home screen and can get onto overwatch which is what im trying to play with this wii remote setup. Is there and easy way soi can remap the buttons without having to write a script? Or are there scripts already that will work with the overwatch control scheme? Also im totally confused on how to get the sensor bar to work. Iv got it plugged into the wii for power but it just doesnt respond with the controller, im guessing i need a script to get it working? If you can help a noob like me then please do. :oops:
User avatar
Eyecandy
Private
Private
 
Posts: 1
Joined: Fri Sep 30, 2016 5:50 pm

Re: Button mapping and sensor bar help!

Postby OFC-Giorgio » Sun Oct 02, 2016 11:32 am

- Make sure your wii (or wiiu in the wii mode) is not asleep in powersaving mode.
- Make sure your wiimote controller is connected to the bluetooth adapter in your titan one and not connected to the wii.

You can try my call of duty script: http://www.consoletuner.com/gpclib/?s=906

Or this minimal script to only map the wiimote pointer to the right stick:

Code: Select all
remap  WII_IRX      -> PS4_RX;       // look
remap  WII_IRY      -> PS4_RY;       // look

main
{
   set_val(WII_IRX, inv(get_val(WII_IRX)));

   // test for wiimote out of reach of sensorbar
   if(wiir_offscreen())
   {
     set_val(WII_IRX, 0); // prevent camera from spinning
     set_val(WII_IRY, 0); // prevent camera from spinning
     set_led(LED_4, 1);   // light led 4 to indicate sensorbar is out of sight
    }
    else
    {
       set_led(LED_4, 0);
    }
}


Both with the call of duty script and the script above the 4th led of the wiimote controller will be turned on in case the wiimote controller is not in reach of the sensorbar.

HTH
User avatar
OFC-Giorgio
Lieutenant
Lieutenant
 
Posts: 344
Joined: Mon Sep 15, 2014 4:26 pm

Re: Button mapping and sensor bar help!

Postby Robsterman02 » Wed May 17, 2017 7:23 pm

Also if you need to set up off screen controlls for IR sensor that will keep your pointer from stopping randomly you need to also assign buttons with multiple controls such as two button equals one and one button pressed in different ways equals other buttons. Optionally you can activate and deactivate modes on controller using led and shake or buttons. Shake controls will give you more butttons to use. Using extra buttons like those on wii u controllers helps too.
User avatar
Robsterman02
First Sergeant
First Sergeant
 
Posts: 46
Joined: Mon Sep 05, 2016 12:34 am

Re: Button mapping and sensor bar help!

Postby Robsterman02 » Wed May 17, 2017 7:29 pm

Basically you can choose whether or not the camera is supposed to spin
User avatar
Robsterman02
First Sergeant
First Sergeant
 
Posts: 46
Joined: Mon Sep 05, 2016 12:34 am

Re: Button mapping and sensor bar help!

Postby 0rb » Mon Aug 20, 2018 2:20 pm

Isn't the power (on/off) button on the Wiimote usable?
User avatar
0rb
Corporal
Corporal
 
Posts: 5
Joined: Fri Aug 17, 2018 5:59 pm

Re: Button mapping and sensor bar help!

Postby J2Kbr » Wed Aug 22, 2018 10:19 am

0rb wrote:Isn't the power (on/off) button on the Wiimote usable?

only to turn the controller on. As regular button input the power button isn't usage as its state is not included in the HID Report.
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

Re: Button mapping and sensor bar help!

Postby 0rb » Thu Aug 23, 2018 3:29 pm

J2Kbr wrote:
0rb wrote:Isn't the power (on/off) button on the Wiimote usable?

only to turn the controller on. As regular button input the power button isn't usage as its state is not included in the HID Report.


Check!
User avatar
0rb
Corporal
Corporal
 
Posts: 5
Joined: Fri Aug 17, 2018 5:59 pm


Return to Wiimote, Nunchuk and Sensorbar

Who is online

Users browsing this forum: No registered users and 23 guests