Page 1 of 1

What are the mouse movement variables/cvars?

Posted: Thu Nov 15, 2012 7:35 pm
by Watermelon
So far I've only seen mouse_sensitivity but I don't know where to find the other mouse variables. What variables/cvars should I be looking for?
Also, how can I make sense of them, what exactly does mouse_sensitivity mean? Pixels per movement of what?


I'm making a generic mouse implementation for ACS and I've got it working, though everyone has different mouse sensitivity so I need a baseline of how to make it more or less universal.

RE: What are the mouse movement variables/cvars?

Posted: Thu Nov 15, 2012 8:19 pm
by Ammar
m_side
m_forward
m_yaw
m_pitch
m_filter
m_noprescale

RE: What are the mouse movement variables/cvars?

Posted: Fri Nov 16, 2012 8:54 pm
by DevilHunter
Inb4 everyone yells "READ THE ZDOOM WIKI!!!"

Link for Great Justice..

Yes I need a new line shut it :/

RE: What are the mouse movement variables/cvars?

Posted: Fri Nov 16, 2012 9:43 pm
by Watermelon
I still haven't had anyone answer how the mouse movement is calculated, or the formula behind determining how those variables are used. Maybe a dev can point me in the right direction?

RE: What are the mouse movement variables/cvars?

Posted: Tue Nov 20, 2012 5:53 pm
by DevilHunter
Well.. from the zdoom wiki; the Mouse Sens part...

Code: Select all

Adjusts the movement speed of the cursor as compared to the movement of the actual mouse device
Though, I'm sure if anything, it's based off what Quake did to calculate the Mouse Movement... Best to google Quake and see what you can dig up there... Seems whateva I can dig up with "Quake" on google is q3a or Q3Live.