New to the forums? Click here to read the "How To" Guide.

Developer? Click here to go to the Developer Forums.

Touch controller drifting in-game? This will fix

PhoenixSpyderPhoenixSpyder Posts: 335
Trinity
edited March 2019 in General
Well, after approx 2 years of use my left controller just started to drift to the left in the past few days. I did some searching on the web and found others have had similar problems. I found a simple fix (discovered and provided by others) for this as a result. I'll just summarize it here for anyone needing to do so.

  1. Close your Oculus software

  2. Open your explorer and travel to C:\Users\[username]\AppData\Local\Oculus\TouchCalibration

  3. Copy the files in this folder as backup.

  4. Open the .LTouch(left) or .RTouch(right) file with notepad, which ever touch controller you have the issue with.

  5. To search hit the hotkey: Ctrl+F and enter either JoyYDeadMax or JoyXDeadMax or JoyYDeadMin or JoyXDeadMin

6.  Y = Forward and backward dead zone issues

     X = Left and Right dead zone issues


7. Increase or decrease the number by 50 each time until it stops (you may need to do this multiple times depending on how bad it is, restart software after each attempt)

Save + Close, restart your Oculus software. You may have to restart your computer.


Here are some examples of what to do when one of these is happening to your controller:

Eg.. JoyXDeadMin = -X value, JoyXDeadMin = +X value and so on

  • If your avatar started randomly moving forward when you just slightly touching thumbstick, increase Deadzone +Y value.
  • If your avatar started randomly moving backward, decrease Deadzone -Y value.
  • If your avatar started randomly moving left, decrease Deadzone -X value.
  • If your avatar started randomly moving right, increase Deadzone +X value.
  • If your avatar started randomly rotationg left, decrease Deadzone -X value of right controller.
  • If your avatar started randomly rotationg right, increase Deadzone +X value of right controller.

Credit goes to Desunyan and Shii2 from the web





i7 8700k @ 5ghz (water cooled), Asus Rog Strix Z370-E Gaming, Corsair 270R case, MSI 1080ti Gaming X, 32 GB Corsair Veng DDR4 2666 Ghz, Adata SX900 SSD, 1TB M.2 SSD, Adata Su800 SSD, Adata SU650 SSD, BarraCuda 2TB HD, Toshiba 3tB HD, Rift (dead), Rift S, Win 10 Pro 2004, Inateck KT4006 USB3.0
"Presently developing a VR project (outside of my profession) due to the lack of availability of what I would like to experience" Details soon...don't want to spill anything just yet!!
«1

Comments

  • legofreakcolegofreakco Posts: 4
    NerveGear
    There is nothing in my "TouchCalibration" folder and I tried searching my computer for .LTouch(left) and .RTouch(right), but nothing appeared. I have a Rift S, but I don't know if that has anything to do with it. I have the touch controllers that come with the Rift S aswell. My left controller has started to drift right recently and it's starting to drive me crazy, so I'm really trying to get it fixed. Thanks!
  • huffy32000huffy32000 Posts: 1
    NerveGear
    There is nothing in my "TouchCalibration" folder and I tried searching my computer for .LTouch(left) and .RTouch(right), but nothing appeared. I have a Rift S, but I don't know if that has anything to do with it. I have the touch controllers that come with the Rift S aswell. My left controller has started to drift right recently and it's starting to drive me crazy, so I'm really trying to get it fixed. Thanks!
    I have the same issue. Did you find a solution? My left controller is drifting down. It's about 3 months old. 
  • airbornniinjaairbornniinja Posts: 1
    NerveGear
    edited November 2019

    "Here are some examples of what to do when one of these is happening to your controller:

    Eg.. JoyXDeadMin = -X value, JoyXDeadMin = +X value and so on"

    What is DeadMax value? Is it inverted? 

  • its probably a slider type value that picks from two numbers a min and max to generate the speed of the controller.

    for this reason when you increase or decrease a x or y value you increase or decrease the min or max value too so the controller moves at the same speed.
  • kojackkojack Posts: 6,941 Volunteer Moderator
    There is nothing in my "TouchCalibration" folder and I tried searching my computer for .LTouch(left) and .RTouch(right), but nothing appeared. I have a Rift S, but I don't know if that has anything to do with it.
    I just checked... only my Rift CV1 controllers (two as normal and two reconfigured as VR Objects) are in there. My Rift-S controllers aren't there. I guess their calibration is stored somewhere else.

    "Here are some examples of what to do when one of these is happening to your controller:

    Eg.. JoyXDeadMin = -X value, JoyXDeadMin = +X value and so on"

    What is DeadMax value? Is it inverted? 

    That was a typo, the second JoyXDeadMin should have been JoyXDeadMax.

    Looking at my values (for CV1 left touch) I have:
    "JoyXRangeMin": 229,<br>"JoyXRangeMax": 778,<br>"JoyXDeadMin": 505,<br>"JoyXDeadMax": 520,<br>"JoyYRangeMin": 243,<br>"JoyYRangeMax": 774,<br>"JoyYDeadMin": 519,<br>"JoyYDeadMax": 524,<br>
    The RangeMin and RangeMax define the lowest and highest values along that axis (X axis is left to right, Y axis is down to up). So if you press the thumbstick all the way to the left, it would give 229. If you push it all the way to the right, it would be 778. Same for the Y: 243 is all the way down and 774 is all the way up.
    The deadmin and deadmax define a dead zone region where movement isn't counted. You don't want tiny stick movements affecting the game. In the above data, the X axis has a dead zone from 505 to 520. So any values within that range all count as the stick in the centre with no movement.

    The sdk gives developers access to the thumbsticks as a fractional value from -1.0 to 1.0, with 0.0 being the centre. In the above case, it scales the 229 to 778 range into -1.0 to 1.0. Any number within the dead zone becomes 0.0.

    If your thumbstick is causing you to move when it shouldn't, it's because it's centred value is outside of the current dead zone. You'll need to move one side of the dead zone to cover it.

    If your thumbstick was reading as 500 when you let go of it, then it's just outside of the dead zone and the game would think you wanted to move left. You would therefore decrease the JoyXDeadMin from 505 to something like 495 or lower (a little more than needed for safety, the values will vary slightly).


    Now these top numbers may seem strange. For example half way between 229 and 778 is 503. That's not even in the dead zone! Well, the numbers aren't necessarily linear. They are reading from hardware that can have some odd properties. The SDK tries to hide that from developers. End users should (ideally) never see these internal values.
    Author: Oculus Monitor,  Auto Oculus Touch,  Oculus Forum Tool,  Phantom Touch Remover,  Forum Dark Mode,  X-Plane Fixer
    Hardware: Threadripper 1950x, MSI Gaming Trio 2080TI, Asrock X399 Taich
    Headsets: DK1, DK2, CV1, Rift-S, GearVR, Go, Quest
  • OzzzzyManOzzzzyMan Posts: 3
    NerveGear
    It started on my right touch controller this week, I keep turning right
    When I adjust the Deadzone +X (quite a bit actually --> above 600) , I can make it stop turning right by it self, however, I can hardly turn left at that point, it's really slowed down.
    Do I need to adjust another value to balance it out again ?

    Thanks!

  • roocellroocell Posts: 7
    NerveGear
    totally worked for me - thanks!

    left controller sticking to left. couldn't play stormlands because of this.
    old setting was 
    "JoyXDeadMin": 519
    changed to 
    "JoyXDeadMin": 475

    fixed!
  • Danakin65Danakin65 Posts: 1
    NerveGear
    For those of us who do NOT have any files in the C:\Users\<user>\AppData\Local\Oculus\TouchCalibration directory, can someone please post examples of what filename(s) need to be in place and examples of their contents?  I have down/back drifting on the left controller so I believe my -Y deadzone amount needs to be decreased.  But without any files or existing values to go by, it's difficult to know where to start (it seems everyone on this thread is assuming we have the files in question). 
    Thanks!  :smile:

  • SodleySodley Posts: 6
    NerveGear
    Well, after approx 2 years of use my left controller just started to drift to the left in the past few days. I did some searching on the web and found others have had similar problems. I found a simple fix (discovered and provided by others) for this as a result. I'll just summarize it here for anyone needing to do so.

    1. Close your Oculus software

    2. Open your explorer and travel to C:\Users\[username]\AppData\Local\Oculus\TouchCalibration

    3. Copy the files in this folder as backup.

    4. Open the .LTouch(left) or .RTouch(right) file with notepad, which ever touch controller you have the issue with.

    5. To search hit the hotkey: Ctrl+F and enter either JoyYDeadMax or JoyXDeadMax or JoyYDeadMin or JoyXDeadMin

    6.  Y = Forward and backward dead zone issues

         X = Left and Right dead zone issues


    7. Increase or decrease the number by 50 each time until it stops (you may need to do this multiple times depending on how bad it is, restart software after each attempt)

    Save + Close, restart your Oculus software. You may have to restart your computer.


    Here are some examples of what to do when one of these is happening to your controller:

    Eg.. JoyXDeadMin = -X value, JoyXDeadMin = +X value and so on

    • If your avatar started randomly moving forward when you just slightly touching thumbstick, increase Deadzone +Y value.
    • If your avatar started randomly moving backward, decrease Deadzone -Y value.
    • If your avatar started randomly moving left, decrease Deadzone -X value.
    • If your avatar started randomly moving right, increase Deadzone +X value.
    • If your avatar started randomly rotationg left, decrease Deadzone -X value of right controller.
    • If your avatar started randomly rotationg right, increase Deadzone +X value of right controller.

    Credit goes to Desunyan and Shii2 from the web





    Can you try and do a tutorial about what it looks like? I don't understand. Would be better if you show us from your computer.
  • shoefishshoefish Posts: 1
    NerveGear
    Danakin65 said:
    For those of us who do NOT have any files in the C:\Users\<user>\AppData\Local\Oculus\TouchCalibration directory, can someone please post examples of what filename(s) need to be in place and examples of their contents?  I have down/back drifting on the left controller so I believe my -Y deadzone amount needs to be decreased.  But without any files or existing values to go by, it's difficult to know where to start (it seems everyone on this thread is assuming we have the files in question). 
    Thanks!  :smile:

    I'm having the exact same issue, slight drifting backwards when I touch the joystick. Also can't find where the calibration files are kept for Rift S.
  • MaxCook1eMaxCook1e Posts: 1
    NerveGear
    can someone please send the Perfekt settings because it doesn't continue to work.
    Please some one help me.
  • PlayerOculus774PlayerOculus774 Posts: 2
    NerveGear
    For Rift S this will not help, is there another solution?
  • TheLittleBearTheLittleBear Posts: 1
    NerveGear
    shoefish said:
    Danakin65 said:
    For those of us who do NOT have any files in the C:\Users\<user>\AppData\Local\Oculus\TouchCalibration directory, can someone please post examples of what filename(s) need to be in place and examples of their contents?  I have down/back drifting on the left controller so I believe my -Y deadzone amount needs to be decreased.  But without any files or existing values to go by, it's difficult to know where to start (it seems everyone on this thread is assuming we have the files in question). 
    Thanks!  :smile:

    I'm having the exact same issue, slight drifting backwards when I touch the joystick. Also can't find where the calibration files are kept for Rift S.
    I'm also experiencing a drifting issue, and my C:\Users\<user>\AppData\Local\Oculus\TouchCalibration directory is empty. It seems that there are a number of us on here that can't find the appropriate files. If anyone knows of other possible names and locations for the calibration files, I would very much appreciate the help! Thank you in advance! 
  • Nedak77Nedak77 Posts: 3
    NerveGear
    And this is why the Rift is better than the Rift S sometimes. For those who don't have the file in "C:\Users\<user>\AppData\Local\Oculus\TouchCalibration", it is because the Rift S does not have this availability. The Rift had it, and that is why the folder is there, I don't know what happened, maybe the Rift S software team just got lazy or what, but the Rift S doesn't have the feature to calibrate the touch controllers. Anyway, I don't think there will ever be an answer besides getting a new headset. Hopefully, the software teams see this thread and update this $400 product. Until then, we have to either wait or do what I said before, replace it. It might take a second because of Covid-19.
  • kojackkojack Posts: 6,941 Volunteer Moderator
    I've just released an updated version of my Oculus Monitor tool.
    If anybody has the drifting thumbstick issue, it would be cool if you could download it at https://github.com/rajetic/OculusMonitor/releases/tag/v0.2.2 and tell me what the thumbstick x&y raw values are when your thumbstick is centred, plus the largest and smallest values you can get at the extremes (up, down, left, right).
    Also see if the thumbstick raw values match the other values (NDZ is no dead zone). The regular value will lag behind the raw value by a fraction of a second, but should quickly match.

    Note: this won't fix the problem, but I've got an idea and I need to see what the SDK returned values look like for drifting controllers.


    Author: Oculus Monitor,  Auto Oculus Touch,  Oculus Forum Tool,  Phantom Touch Remover,  Forum Dark Mode,  X-Plane Fixer
    Hardware: Threadripper 1950x, MSI Gaming Trio 2080TI, Asrock X399 Taich
    Headsets: DK1, DK2, CV1, Rift-S, GearVR, Go, Quest
  • SecretNinja67SecretNinja67 Posts: 1
    NerveGear
    kojack,
    My right touch controller is drifting up. I am attaching pictures of your program running. Each file is named for the position of the joystick. Let me know if you want more information.


  • fertigofertigo Posts: 23
    Brain Burst
    edited March 31
    i have the same problem with my quest controller drifting to the left. it became so bad now that i cant play any game anymore. here is a screenshot from the monitor app. can this calibration files be copied in this empty TouchCalibration folder to make it work maybe?



  • SkeatleBerrySkeatleBerry Posts: 12
    Brain Burst
    Yep same problem here, i simply can not play any game that uses the left controller for movement as my player just keeps getting pulled back and i have to counter it by pushing forward on the left thumbstick this has put me of vr for now using oculus link and its a shame as i am about half way through half life alyx :( did anyone find a fix? there is nothing in the TouchCalibration folder and no one explaining what to do if that is the case

  • legofreakcolegofreakco Posts: 4
    NerveGear
    edited April 4

    Here are my results on my left controller (because it's the one drifting). All the values on mine when centered are 0
    (the order of the pictures are right, down, up, left).
  • legofreakcolegofreakco Posts: 4
    NerveGear
    So I found a way to fix the problem, though I don't know if it will fix everyone's. I blew compressed air into and around my joystick to get all of the dust out and now it works good as new! Feel like I should have thought of this earlier...  :#
  • kojackkojack Posts: 6,941 Volunteer Moderator
    Thanks everyone. That looks like how I expected it.

    It's wouldn't be a real fix, but I might be able to get my Oculus Injector program to remap the values to at least stop the drift. Although Oculus Injector isn't finished yet. Close though.
    Author: Oculus Monitor,  Auto Oculus Touch,  Oculus Forum Tool,  Phantom Touch Remover,  Forum Dark Mode,  X-Plane Fixer
    Hardware: Threadripper 1950x, MSI Gaming Trio 2080TI, Asrock X399 Taich
    Headsets: DK1, DK2, CV1, Rift-S, GearVR, Go, Quest
  • SkeatleBerrySkeatleBerry Posts: 12
    Brain Burst
    Just wanted to say thank you for this tool, my left controller is drifting back as if i am pulling back but using your tool i was able to see when i released the left thumb stick the numbers do not settle back to 0 as they should some times they stick some times they dont, the right controller is fine it reset back to 0 in all cases after moving the thumbstick around, i am in talks with oculus support as this is making some vr title unplayable if the movment is on the left stick and in most case it is
  • kojackkojack Posts: 6,941 Volunteer Moderator
    I've made some progress on it. I've now got thumbstick recalibration working on CV1 and Rift-S in Oculus Injector. When enabled, you let it watch the thumbsticks while you move them around in a circle, so it learns the mix/max range. Then when you turn off calibration it learns the centre values from where ever your thumbsticks are (let go of them then stop calibrating).
    Note: this is a very experimental program. It's not friendly and you have to use it to launch games instead of Dash (so it can inject code into them, hence it's name). It's also not released yet, but I'm going to try to get an alpha released this weekend.

    Author: Oculus Monitor,  Auto Oculus Touch,  Oculus Forum Tool,  Phantom Touch Remover,  Forum Dark Mode,  X-Plane Fixer
    Hardware: Threadripper 1950x, MSI Gaming Trio 2080TI, Asrock X399 Taich
    Headsets: DK1, DK2, CV1, Rift-S, GearVR, Go, Quest
  • El_DudenessEl_Dudeness Posts: 4
    NerveGear
    My Oculus touch controller is drifting. It is drifting forward when ever I even nudge it and to stop it I have to nudge it back. I've tried changing the "JoyYDeadMax" but that doesn't help. 
  • FrahdChikunFrahdChikun Posts: 2
    NerveGear
    This is really starting to tick me off. I don't want to cough up 70 bucks to get a replacement when I know the issue is dirt under my control stick. Only issue is that no matter how much compressed air I blow in to the blasted thing, it just won't get the controller clean. I love how easy to set up the Rift S is, but sheesh can't they implement some kind of control stick calibration feature? If anyone knows of an effective way to clean the control stick, please let me know!
  • BLZJokeRBLZJokeR Posts: 1
    NerveGear
    I was able to fix it in a pretty cheap and simple way. I took the main component out of a mechanical pencil, put the plastic tip back on, and resized the plastic hole with a small knife, making a human-powered air compressor. Then I used that to clean the joystick that was drifting.
  • MarekSchmidtMarekSchmidt Posts: 1
    NerveGear
    Does this also work on the quest? or no?
  • prometeus78prometeus78 Posts: 1
    NerveGear
    BLZJokeR said:
    I was able to fix it in a pretty cheap and simple way. I took the main component out of a mechanical pencil, put the plastic tip back on, and resized the plastic hole with a small knife, making a human-powered air compressor. Then I used that to clean the joystick that was drifting.
    same issue and same solution.... great BLZJokeR
  • Shan0theVikingShan0theViking Posts: 2
    NerveGear
    edited July 26
    Hi Guys, 

    I have the Quest, using it as Rift S with Link and Remote Desktop. For last few months the left controller started drifting, progressively getting worse over time. I read through a few posts on Reddit and here and also did not have the Touch Calibration in my user settings. I ended up deciding to try compressed air, went down to my local Bunnings and grabbed a tin of compressed air and WD40 Electronic Cleaner - I first did the compressed air blowing all around the D pad whilst moving it around, tested and it was definitely better but still had a minor drift going on, decided to use the WD40 (only a small amount) and used that whilst moving the D Pad around at the same time. Tested - works as new. I think this would be a better solution than recalibrating as it is likely an issue with dust in the controller and better to clean than readjust the deadzone. Hope this helps you all. 
  • Shan0theVikingShan0theViking Posts: 2
    NerveGear
    edited July 26
    .
Sign In or Register to comment.