lower mouse sensitivity on button press (PC)
7 posts
• Page 1 of 1
lower mouse sensitivity on button press (PC)
Hey,
Just asking if there is a way to lower the mouse sensitivity on PC when I press "3" at all.
It is currently at 3.66 on the XY Converter so maybe to around 1.40 when pressed please.
Thank you.
Just asking if there is a way to lower the mouse sensitivity on PC when I press "3" at all.
It is currently at 3.66 on the XY Converter so maybe to around 1.40 when pressed please.
Thank you.
-
combo Destroy{ - First Sergeant
- Posts: 49
- Joined: Sun May 14, 2017 4:04 am
Re: lower mouse sensitivity on button press (PC)
Are you using the Multi HID output protocol? or a regular gamepad output protocol? For the second case you can map the key 3 to, lets say, BUTTON_21 and use this button reference in the alternate settings of the Mouse XY Converter to have the sensitivity increased when 3 is pressed.
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Re: lower mouse sensitivity on button press (PC)
Multi HID.
this is the script for it to work with the T2.
Is there a way to change to gamepad output and still keep my current scripts?
this is the script for it to work with the T2.
- Code: Select all
// DEFINES =====================================================================
#include <keyboard.gph>
#include <mouse.gph>
init{
keymapping();
mousemapping();
}
// MAIN SCRIPT =================================================================
main {
key_passthru();
mouse_passthru();
}
Is there a way to change to gamepad output and still keep my current scripts?
-
combo Destroy{ - First Sergeant
- Posts: 49
- Joined: Sun May 14, 2017 4:04 am
Re: lower mouse sensitivity on button press (PC)
Okay, please note when using the Multi HID output protocol the Input Translator and Mouse XY Converter will not have effect, as the K&M inputs are passing through the device and not being converted to gamepad format.
However, you can still create a script to increase the mouse sensitivity if 3 is pressed, example:
However, you can still create a script to increase the mouse sensitivity if 3 is pressed, example:
- Code: Select all
// INCLUDES ====================================================================
#include <keyboard.gph>
#include <mouse.gph>
// INITIALIZATION ==============================================================
init{
keymapping();
mousemapping();
}
// MAIN SCRIPT =================================================================
main {
key_passthru();
mouse_passthru();
if(mouse_status(MREPORT_UPDATED)) {
if(key_status(KEY_3)) {
fix32 mx = (fix32) mouse_status(MOUSE_X);
fix32 my = (fix32) mouse_status(MOUSE_Y);
mouse_set(MOUSE_X, (int32) (mx * 1.40));
mouse_set(MOUSE_Y, (int32) (my * 1.40));
}
}
}
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Re: lower mouse sensitivity on button press (PC)
Nice that's what i need to
Thanks
Thanks
-
teddy18 - Lieutenant
- Posts: 346
- Joined: Sun Jul 19, 2015 4:18 pm
Re: lower mouse sensitivity on button press (PC)
Ah ok,
Thanks will try this out.
Thanks will try this out.
-
combo Destroy{ - First Sergeant
- Posts: 49
- Joined: Sun May 14, 2017 4:04 am
Re: lower mouse sensitivity on button press (PC)
J2Kbr wrote:Okay, please note when using the Multi HID output protocol the Input Translator and Mouse XY Converter will not have effect, as the K&M inputs are passing through the device and not being converted to gamepad format.
However, you can still create a script to increase the mouse sensitivity if 3 is pressed, example:
- Code: Select all
// INCLUDES ====================================================================
#include <keyboard.gph>
#include <mouse.gph>
// INITIALIZATION ==============================================================
init{
keymapping();
mousemapping();
}
// MAIN SCRIPT =================================================================
main {
key_passthru();
mouse_passthru();
if(mouse_status(MREPORT_UPDATED)) {
if(key_status(KEY_3)) {
fix32 mx = (fix32) mouse_status(MOUSE_X);
fix32 my = (fix32) mouse_status(MOUSE_Y);
mouse_set(MOUSE_X, (int32) (mx * 1.40));
mouse_set(MOUSE_Y, (int32) (my * 1.40));
}
}
}
THANK YOU that's what i need
-
teddy18 - Lieutenant
- Posts: 346
- Joined: Sun Jul 19, 2015 4:18 pm
7 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 122 guests