forked from KolibriOS/kolibrios
Update mouse settings
git-svn-id: svn://kolibrios.org@6231 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
01933bf0b2
commit
bb37d24d68
@ -18,8 +18,8 @@
|
||||
?define WINDOW_TITLE "<EFBFBD>஢¥àª ¨ áâனª ¯ à ¬¥â஢ ¬ëè¨"
|
||||
?define CHECK_MOUSE_1 "<EFBFBD> ¦¬¨â¥ í⮩ ®¡« áâ¨"
|
||||
?define CHECK_MOUSE_2 "¤«ï ¯à®¢¥àª¨ ª®¯®ª ¬ëè¨"
|
||||
?define POINTER_SPEED "‘ª®à®áâì 㪠§ â¥«ï ¬ëè¨"
|
||||
?define ACCELERATION_TEXT "“᪮२¥ 㪠§ â¥«ï ¬ëè¨"
|
||||
?define POINTER_SPEED "„¥«¨â¥«ì ᪮à®á⨠㪠§ â¥«ï ¬ëè¨"
|
||||
?define ACCELERATION_TEXT "—ã¢á⢨⥫ì®áâì 㪠§ â¥«ï ¬ëè¨"
|
||||
?define DOUBLE_CLICK_TEXT "‡ ¤¥à¦ª ¤¢®©®£® ª«¨ª ¬ëèìî"
|
||||
?define MOUSE_EMULATION "“¯à ¢«¥¨¥ 㪠§ ⥫¥¬ ¬ëè¨ ç¥à¥§ ª« ¢¨ âãàã"
|
||||
?define MADMOUSE "‘ª¢®§ë¥ ¤«ï ªãàá®à áâ®à®ë íªà "
|
||||
@ -27,8 +27,8 @@
|
||||
?define WINDOW_TITLE "Mouse testing and configuration"
|
||||
?define CHECK_MOUSE_1 "Click on this area to"
|
||||
?define CHECK_MOUSE_2 "check your mouse buttons"
|
||||
?define POINTER_SPEED "Mouse pointer speed"
|
||||
?define ACCELERATION_TEXT "Mouse pointer acceleration"
|
||||
?define POINTER_SPEED "Mouse pointer speed divider"
|
||||
?define ACCELERATION_TEXT "Mouse pointer sensitivity"
|
||||
?define DOUBLE_CLICK_TEXT "Mouse double click delay"
|
||||
?define MOUSE_EMULATION "Enable mouse emulation using keyboard NumPad"
|
||||
?define MADMOUSE "Through screen sides for pointer"
|
||||
@ -107,12 +107,12 @@ void main() {
|
||||
mouse_cfg.pointer_speed++;
|
||||
SetMouseSpeed(mouse_cfg.pointer_speed);
|
||||
}
|
||||
if (id==121) && (mouse_cfg.pointer_speed>1)
|
||||
if (id==121) && (mouse_cfg.pointer_speed>0)
|
||||
{
|
||||
mouse_cfg.pointer_speed--;
|
||||
SetMouseSpeed(mouse_cfg.pointer_speed);
|
||||
}
|
||||
if (id==122) && (mouse_cfg.acceleration<3)
|
||||
if (id==122)
|
||||
{
|
||||
mouse_cfg.acceleration++;
|
||||
SetMouseAcceleration(mouse_cfg.acceleration);
|
||||
@ -124,12 +124,12 @@ void main() {
|
||||
}
|
||||
if (id==124)
|
||||
{
|
||||
mouse_cfg.double_click_delay+=10;
|
||||
mouse_cfg.double_click_delay+=8;
|
||||
SetMouseDoubleClickDelay(mouse_cfg.double_click_delay);
|
||||
}
|
||||
if (id==125) && (mouse_cfg.double_click_delay>0)
|
||||
{
|
||||
mouse_cfg.double_click_delay-=10;
|
||||
mouse_cfg.double_click_delay-=8;
|
||||
SetMouseDoubleClickDelay(mouse_cfg.double_click_delay);
|
||||
}
|
||||
DrawControls();
|
||||
|
Loading…
Reference in New Issue
Block a user