RPGWatch Forums - View Single Post - Negative acceleration ?
View Single Post

Default 

November 23rd, 2014, 02:41
Ok got new rig giving me steady max fps, mouse issues defo unrelated to performance

I improvised a fix using GlovePIE 0.43 (download here)
It's not perfect, but it made the game actually playable for me
1. It fixes the inconsistency between horizontal & vertical speed
2. Xenus lowers speed of fast swipes, so I made fast swipes go slightly faster

Setup
It was made for a specific resolution & mouse sensitivity, so will probably need to tweak
1. Note when the negative mouse lag thing kicks in when you swipe.
2. Open up glove pie, uncomment the debug line and immitate the mouse motion
3. Note the number and change var.swipeSpeed a bit lower than that.
4. Test ingame, and comment line when you're done.

Code:
// Xenus2 fix for slow horizontal movement & negative accel on fast swipes
// For 2560x1440, using Mouse Sensitivity=0.000230

var.swipeSpeed = 50       // tweak this
Pie.MouseDPI = 800
Pie.FrameRate = 60

//debug = delta(RealMouse.DirectInputX)  // Use this to get mouse speed, to check at which point xenus kicks in the mouse lag
var.dX = delta(RealMouse.DirectInputX)
if (abs(var.dx) > 50)
   var.fix = var.dX * 2
   FakeMouse.DirectInputX += var.fix
}

FakeMouse.DirectInputX += var.dX*0.7    // Fix horizontal/vertical inconsistency
svartberg is offline

svartberg

Traveler

#5

Join Date: Aug 2012
Location: Australia
Posts: 8
Mentioned: 0 Post(s)