• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Controllers v
« Previous 1 ... 18 19 20 21 22 ... 316 Next »

Lower sensitivity of cursor, using real wiimote and no sensor bar
View New Posts | View Today's Posts

Pages (2): 1 2 Next »
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Lower sensitivity of cursor, using real wiimote and no sensor bar
08-06-2020, 04:55 AM (This post was last modified: 08-06-2020, 06:46 AM by dejandenib.)
#1
dejandenib Offline
Junior Member
**
Posts: 10
Threads: 2
Joined: Aug 2020
Hi, I read all the forums, hoping to find a solution to my problem, but with no success.
I am using the latest version of Dolphin always.
I have a real Wiimote, but no sensor bar.
So for some games I need a cursor in the game obviously.
I won't use candles, and I know buying a sensor bar is the best idea
Basically the solution is, instead of selecting Real Wiimote in settings, I select Emulated wiimote, and "connect wiimote for emulated controllers".
And with this I can use gyro of wiimote for the cursor.
So far is good.
But the cursor moves too fast, it is very sensitive.
It takes a very very little angle to go from left to right of screen. I want to decrease this sensitivity, so that I need bigger angle of movement on the wiimote, so that the cursor moves.

Now, this is very hard to modify. The reason is, the pointer in the settings, that is when I click the tab Motion Stimulation, the point controls are set to Cursor X-+, Y+-. They are not set to Wiimote Gyro axis !!! I don't know why.
So right clicking on these, and changing the range for example, doesn't change anything. Actually something changes, but no matter values I put, I could not lower the sensitivity.

I had the idea, of changing this value, instead of Cursor X-+, Y+-. to link them to Gyro directly, by right clicking, and selecting Gyro Pitch Yaw Roll accordingly. But I couldn't change anything. We can't change the pointer settings at all. They are hardwired in dolphin code apparently.

As an experiment, I tried to make the cursor be controlled by the gyro in the Nunchak. For the pointer settings, I right click on each of those 4, I select the Nunchak axis. But it doesn't work.

At the bottom of the settings window, there are the buttons Deadzone %, Vertical offset cm, Total Pitch, Total Yaw, Relative input.... I've tried tweaking literally everything.
I am software developer myself, so I have more than the average knowledge of tweaking all kinds of settings... My conclusion was, as I said, the pointer is hardwired to the wiimote gyro, when using it as emulated option, opposed to selected as real wiimote.

Any person who can help me, how to make the cursor slower, using the Wiimote Gyro ?
Again, buying an infrared sensor bar, would probably be best, but due to Covid19, packages take forever to arrive, and I would need to burn too many candles for all my games.

Thanks
Find
Reply
08-06-2020, 11:43 AM
#2
Billiard26 Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 2,660
Threads: 8
Joined: Feb 2010
Under the "Motion Input" tab, in the "Point" group box, you can uncheck "Enable" to not use gyroscope/accelerometer data to simulate pointing.
Find
Reply
08-06-2020, 06:28 PM
#3
dejandenib Offline
Junior Member
**
Posts: 10
Threads: 2
Joined: Aug 2020
That doesn't help me. As I said, I want to have the pointer to play games that must have the pointer, like Mario Galaxy or shooter games. And I don't want to emulate the pointer with something else, like a mouse, I want to use the gyro.

This is where its getting weirder: I connect my Playstation's DualShock 4, and that gyro works PERFECT in Dolphin for emulating the pointer. But the real Wiimote works terrible for the pointer.
Now you might be thinking, maybe the wiimote it's old and faulty? But actually, in games that require gyro, like Wii Sports Resort, I was playing Table Tennis with perfect precision with the Wiimote Gyro. In all 6-axis that I move my wiimote, I see the exact movements replicated 1:1 in the table tennis game. This means the gyro sensor is working fine.

This Wiimote has motionplus integrated. Unchecking the option in Dolphin for motionplus didn't make any difference.

Let me explain the problem better, best would be to show a video, but it's complicated to make it.
So the problem is, when emulating the pointer with my original Wiimote, the pointer moves left to right fine ( a bit to fast, but its okay ), but going up and down it's terrible. There are region's of the screen I can't reach at all Let's say the cursor is around the center, I might move it up few centimeters, and then suddenly jumps up to the top of the screen, and even I am holding the wiimote completely still, it will jump back to the center. And I was doing very small gentle movements with my wiimote, it shouldn't jump like that. The same is happening if I move it down, there are areas on the bottom it doesn't cover, just jumps to the bottom, and again jumps back.
What is confusing me most, the playstation's ds4 is working great... so I am sure Dolphin has really nice implementation for emulating the pointer... and the wiimote gyro works perfect for playing table tennis... it detects all 6-axis movements perfectly, Dolphin also has that implemented flawlessly... but why I experience so many problems emulating the pointer with my Wiimote? I have tried literally tweaking every option in the Controller settings.

So, tldr; Playstation's Dualshock 4 works perfect emulating the pointer with it's gyro. But the wiimote is terrible in emulating it. Even though I checked with table tennis game that the gyro works perefecly.
Find
Reply
08-07-2020, 06:22 AM (This post was last modified: 08-07-2020, 06:23 AM by Billiard26.)
#4
Billiard26 Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 2,660
Threads: 8
Joined: Feb 2010
I thought you were trying to do your own custom "Point" mappings.

Anyways, the MotionPlus calibration data has been very poor on all devices that I have tested.
You can roughly observe the accuracy from the "Gyroscope" mapping indicator on the "Motion Input" tab.

Let the indicator settle with your remote flat on a table.
Slowly and smoothly rotate the remote a complete 360 degrees in the direction you wish to calibration.
The gyro indicator should end where it started.

Most likely it's oversensitive.

You can right click each of the Gyro mapping directions and apply manual scalars using the multiplication operator:
`Gyro Pitch Up` * 0.9

Ideally we'd have some sort of automatic calibration feature here but that doesn't exist yet.
Find
Reply
08-07-2020, 07:42 AM
#5
dejandenib Offline
Junior Member
**
Posts: 10
Threads: 2
Joined: Aug 2020
(08-07-2020, 06:22 AM)Billiard26 Wrote: I thought you were trying to do your own custom "Point" mappings.

Anyways, the MotionPlus calibration data has been very poor on all devices that I have tested.
You can roughly observe the accuracy from the "Gyroscope" mapping indicator on the "Motion Input" tab.

Let the indicator settle with your remote flat on a table.
Slowly and smoothly rotate the remote a complete 360 degrees in the direction you wish to calibration.
The gyro indicator should end where it started.

Most likely it's oversensitive.

You can right click each of the Gyro mapping directions and apply manual scalars using the multiplication operator:
`Gyro Pitch Up` * 0.9

Ideally we'd have some sort of automatic calibration feature here but that doesn't exist yet.


Thank you very much for the reply.


That *0.9 trick works to slow down my PS4 dualshock4 controller, but the wiimote pointer is still behaving strange. I posted the title of this thread wrong, it is not that it was sensitive, but it was completely pointing wrong. I assumed the wiimote is malfunctioned, but I can play table tennis or other games that use the gyro with perfect precision.

I have few questions:

1. "Let the indicator settle with your remote flat on a table."
When and where and how do I start calibrating the device? Sometimes by pressing the home button in Wii resort sports, calibrating will happen, but I can't do it in other games any time I please.

2. As you can see from the images I uploaded, these are the inputs I have when using my wiimote as emulated wiimote. Why are there 3 combinations of this 6-axis? I understand the accelerometer     , but why the two combinations of 6 axis?         
By Dolphin's default, Gyro is set by those 6 with names starting with Gyro. The Roll+-, Yaw+-, Pitch+-, also react to movements. But in a confusing way for me. The first 6 don't exactly correlate with the other 6. And no, those other 6 are not from the nunchuk, I disconnected it during these screenshots.

3. Check the video  https://youtu.be/S8sE9VtUFLQ of my controllers. That is the best way to explain my problem. Look at how weirdly the wiimote pointer is behaving. The blue (first player) is the playstation's ds4, and the second player is wiimote. I hold them both with my two hands at the same time, and I replicate the same movements, slowly moving left to right, and then up and down. The dualshock obeys me perfectly, I can move the pointer to any area ( as you can see, I successfully go to each button),  but the wiimote has a mind of its own. It kinda obeys me moving left to right, although it resets itself a lot, or disappears, or jumps somewhere randomly. But moving it up and down concludes in unexpected jumps at random places and disappearing. What could be the problem?

https://youtu.be/S8sE9VtUFLQ
Find
Reply
08-07-2020, 08:10 AM
#6
Billiard26 Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 2,660
Threads: 8
Joined: Feb 2010
The "manual" calibration procedure I described can be performed without starting a game. Just open the controller configuration with the remote connected.
I forgot that you might have to compensate for the bad neutral values too. More math in the input expression might be needed.

The behavior in video is strange.
Upload your "WiimoteNew.ini".
Find
Reply
08-07-2020, 08:35 AM
#7
dejandenib Offline
Junior Member
**
Posts: 10
Threads: 2
Joined: Aug 2020
I am confused on where is this manual calibration. As you can see from this image:    
I can see those buttons "Calibrate", but in this tab, they are not used. If I press calibrate, nothing happens But on the next tab "Motion Input", where we can set enable the pointer using motion, there are no calibrate buttons. So where exactly do I click for this manual calibration?

Oh by the way... this is not really original wiimote, it is some cheap knockoff from aliexpress...  but everything works great on it so far, gyro in motion games, the IR as a pointer (tested with two candles, but it is not convenient at all). But even as a knockoff, it is still very strange to me how and why this is happening.

Here is the Wiimote.ini. I am literally using the default configuration from Dolphin for the button preset
Code:
[Wiimote1]
Device = DSUClient/0/DualShock 4
Source = 1
Buttons/A = Triangle
Buttons/B = Cross
Buttons/1 = Square
Buttons/2 = Circle
Buttons/- = `L1`
Buttons/+ = `R1`
Nunchuk/Stick/Up = W
Nunchuk/Stick/Down = S
Nunchuk/Stick/Left = A
Nunchuk/Stick/Right = D
Nunchuk/Buttons/C = LCONTROL
Nunchuk/Buttons/Z = LSHIFT
Buttons/Home = Options
Shake/X = `L3`
Shake/Y = `L3`
Shake/Z = `L3`
IMUAccelerometer/Up = Accel Up
IMUAccelerometer/Down = Accel Down
IMUAccelerometer/Left = Accel Left
IMUAccelerometer/Right = Accel Right
IMUAccelerometer/Forward = Accel Forward
IMUAccelerometer/Backward = Accel Backward
IMUGyroscope/Roll Left = Gyro Roll Left
IMUGyroscope/Roll Right = Gyro Roll Right
IMUGyroscope/Yaw Left = Gyro Yaw Left
IMUGyroscope/Yaw Right = Gyro Yaw Right
Nunchuk/Stick/Calibration = 100.00 141.42 100.00 141.42 100.00 141.42 100.00 141.42
Nunchuk/Shake/X = Click 2
Nunchuk/Shake/Y = Click 2
Nunchuk/Shake/Z = Click 2
D-Pad/Up = `Pad N`
D-Pad/Down = `Pad S`
D-Pad/Left = `Pad W`
D-Pad/Right = `Pad E`
Extension = Nunchuk
IMUGyroscope/Pitch Up = Gyro Pitch Up
IMUGyroscope/Pitch Down = Gyro Pitch Down
IR/Calibration = 100.00 101.96 106.36 115.34 120.28 115.60 108.24 101.96 100.00 101.96 108.24 120.27 141.42 120.27 108.24 101.96 100.00 101.96 108.24 120.27 141.42 120.27 108.24 101.96 100.00 101.96 108.24 120.27 127.58 120.27 108.24 101.96
Swing/Up = `Right Y+`
Swing/Down = `Right Y-`
Swing/Left = `Right X-`
Swing/Right = `Right X+`
Options/Speaker Pan = -2.0000000000000000
Options/Battery = 93.000000000000000
Options/Sideways Wiimote = True
IMUIR/Total Yaw = 27.000000000000000
[Wiimote2]
Source = 0
D-Pad/Up = Up
Device = Bluetooth/0/Wii Remote
Buttons/A = A
Buttons/B = B
Buttons/1 = `1`
Buttons/2 = `2`
Buttons/- = `-`
Buttons/+ = `+`
Buttons/Home = HOME
IR/Up = `Gyro Pitch Up`
IR/Down = Gyro Pitch Down
IR/Left = Gyro Roll Left
IR/Right = Gyro Roll Right
Shake/X = Click 2
Shake/Y = Click 2
Shake/Z = Click 2
IMUAccelerometer/Up = Accel Up
IMUAccelerometer/Down = Accel Down
IMUAccelerometer/Left = Accel Left
IMUAccelerometer/Right = Accel Right
IMUAccelerometer/Forward = Accel Forward
IMUAccelerometer/Backward = Accel Backward
IMUGyroscope/Pitch Up = Gyro Pitch Up
IMUGyroscope/Pitch Down = Gyro Pitch Down
IMUGyroscope/Roll Left = Gyro Roll Left
IMUGyroscope/Roll Right = Gyro Roll Right
IMUGyroscope/Yaw Left = Gyro Yaw Left
IMUGyroscope/Yaw Right = Gyro Yaw Right
Extension = Nunchuk
Nunchuk/Buttons/C = `Nunchuk C`
Nunchuk/Buttons/Z = `Nunchuk Z`
Nunchuk/Stick/Up = `Nunchuk Y+`
Nunchuk/Stick/Down = `Nunchuk Y-`
Nunchuk/Stick/Left = `Nunchuk X-`
Nunchuk/Stick/Right = `Nunchuk X+`
Nunchuk/Stick/Calibration = 100.00 101.96 108.24 120.27 141.42 120.27 108.24 101.96 100.00 101.96 108.24 120.27 140.87 119.95 108.06 101.88 100.00 101.96 108.24 120.27 141.42 120.27 108.24 101.96 100.00 101.80 107.89 119.64 140.32 120.27 108.24 101.96
Nunchuk/Shake/X = Click 2
Nunchuk/Shake/Y = Click 2
Nunchuk/Shake/Z = Click 2
D-Pad/Down = Down
D-Pad/Left = Left
D-Pad/Right = Right
IR/Calibration = 100.00 96.70 97.23 100.19 107.60 120.27 108.24 101.96 100.00 101.96 108.24 120.27 141.42 120.27 108.24 101.96 100.00 101.96 108.24 120.27 141.42 120.27 108.24 101.96 100.00 101.96 108.24 120.27 141.42 120.27 108.24 101.96
IMUIR/Enabled = False
IMUIR/Total Yaw = 38.000000000000000
IMUIR/Recenter = `-`
Nunchuk/IMUAccelerometer/Up = `Nunchuk Accel Up`
Nunchuk/IMUAccelerometer/Down = `Nunchuk Accel Down`
Nunchuk/IMUAccelerometer/Left = `Nunchuk Accel Left`
Nunchuk/IMUAccelerometer/Right = `Nunchuk Accel Right`
Nunchuk/IMUAccelerometer/Forward = `Nunchuk Accel Forward`
Nunchuk/IMUAccelerometer/Backward = `Nunchuk Accel Backward`
Rumble/Motor/Range = 150.00000000000000
[Wiimote3]
Source = 0
[Wiimote4]
Source = 0
[BalanceBoard]
Source = 0
Find
Reply
08-07-2020, 09:25 AM (This post was last modified: 08-07-2020, 09:25 AM by Billiard26.)
#8
Billiard26 Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 2,660
Threads: 8
Joined: Feb 2010
The "manual" calibration is the procedure I described in post #4.

Can you provide a video of the indicators on the "Motion Input" tab with the connected wii remote sitting motionless on a table then with some pointing-at-the-screen-like motions?
Find
Reply
08-08-2020, 03:32 AM
#9
dejandenib Offline
Junior Member
**
Posts: 10
Threads: 2
Joined: Aug 2020
Thanks for the help so far. Here is the video where I show how I turn it around, my screen capture, and this video are recorded literally at the same time: https://www.youtube.com/watch?v=ExQY-Jp3ZnQ&feature=youtu.be 
At the beginning I let it just lie flat on the table for few seconds, and at the end, it just stands straight up, without moving

Dolphin values: https://youtu.be/dirkncR7NQY 

And one more video, of those other 6 values I mentioned, which are confusing because I don't understand what are they for, for these values I imitated exactly the same movements of the wiimote as before: https://www.youtube.com/watch?v=ehc0jHh1MY0&feature=youtu.be
Find
Reply
08-08-2020, 03:37 AM
#10
dejandenib Offline
Junior Member
**
Posts: 10
Threads: 2
Joined: Aug 2020
I forgot to mention, for those 6 values, you can see at the beginning, Yaw- and Yaw+ are constantly oscilating, even though I don't move the wiimote at all.
If I turn it at some angle, and just hold it, these 2 values my stop changing. If I move it at another angle, those 2 values will still be changing, but slower.

Comparing to my playstation's dualshock 4, those 6 values are not even in the table, all the relevant motion values are named starting with either "Gyro... " or "Accel... "
Find
Reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode