Rev 6198 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6198 | Rev 6231 | ||
---|---|---|---|
Line 16... | Line 16... | ||
16 | 16 | ||
17 | #ifdef LANG_RUS |
17 | #ifdef LANG_RUS |
18 | ?define WINDOW_TITLE "஢¥àª ¨ áâனª ¯ à ¬¥â஢ ¬ëè¨" |
18 | ?define WINDOW_TITLE "஢¥àª ¨ áâனª ¯ à ¬¥â஢ ¬ëè¨" |
19 | ?define CHECK_MOUSE_1 " ¦¬¨â¥ í⮩ ®¡« áâ¨" |
19 | ?define CHECK_MOUSE_1 " ¦¬¨â¥ í⮩ ®¡« áâ¨" |
20 | ?define CHECK_MOUSE_2 "¤«ï ¯à®¢¥àª¨ ª®¯®ª ¬ëè¨" |
20 | ?define CHECK_MOUSE_2 "¤«ï ¯à®¢¥àª¨ ª®¯®ª ¬ëè¨" |
21 | ?define POINTER_SPEED "ª®à®áâì 㪠§ â¥«ï ¬ëè¨" |
21 | ?define POINTER_SPEED "¥«¨â¥«ì ᪮à®á⨠㪠§ â¥«ï ¬ëè¨" |
22 | ?define ACCELERATION_TEXT "᪮२¥ 㪠§ â¥«ï ¬ëè¨" |
22 | ?define ACCELERATION_TEXT "ã¢á⢨⥫ì®áâì 㪠§ â¥«ï ¬ëè¨" |
23 | ?define DOUBLE_CLICK_TEXT " ¤¥à¦ª ¤¢®©®£® ª«¨ª ¬ëèìî" |
23 | ?define DOUBLE_CLICK_TEXT " ¤¥à¦ª ¤¢®©®£® ª«¨ª ¬ëèìî" |
24 | ?define MOUSE_EMULATION "¯à ¢«¥¨¥ 㪠§ ⥫¥¬ ¬ëè¨ ç¥à¥§ ª« ¢¨ âãàã" |
24 | ?define MOUSE_EMULATION "¯à ¢«¥¨¥ 㪠§ ⥫¥¬ ¬ëè¨ ç¥à¥§ ª« ¢¨ âãàã" |
25 | ?define MADMOUSE "ª¢®§ë¥ ¤«ï ªãàá®à áâ®à®ë íªà " |
25 | ?define MADMOUSE "ª¢®§ë¥ ¤«ï ªãàá®à áâ®à®ë íªà " |
26 | #else |
26 | #else |
27 | ?define WINDOW_TITLE "Mouse testing and configuration" |
27 | ?define WINDOW_TITLE "Mouse testing and configuration" |
28 | ?define CHECK_MOUSE_1 "Click on this area to" |
28 | ?define CHECK_MOUSE_1 "Click on this area to" |
29 | ?define CHECK_MOUSE_2 "check your mouse buttons" |
29 | ?define CHECK_MOUSE_2 "check your mouse buttons" |
30 | ?define POINTER_SPEED "Mouse pointer speed" |
30 | ?define POINTER_SPEED "Mouse pointer speed divider" |
31 | ?define ACCELERATION_TEXT "Mouse pointer acceleration" |
31 | ?define ACCELERATION_TEXT "Mouse pointer sensitivity" |
32 | ?define DOUBLE_CLICK_TEXT "Mouse double click delay" |
32 | ?define DOUBLE_CLICK_TEXT "Mouse double click delay" |
33 | ?define MOUSE_EMULATION "Enable mouse emulation using keyboard NumPad" |
33 | ?define MOUSE_EMULATION "Enable mouse emulation using keyboard NumPad" |
34 | ?define MADMOUSE "Through screen sides for pointer" |
34 | ?define MADMOUSE "Through screen sides for pointer" |
Line 105... | Line 105... | ||
105 | if (id==120) |
105 | if (id==120) |
106 | { |
106 | { |
107 | mouse_cfg.pointer_speed++; |
107 | mouse_cfg.pointer_speed++; |
108 | SetMouseSpeed(mouse_cfg.pointer_speed); |
108 | SetMouseSpeed(mouse_cfg.pointer_speed); |
109 | } |
109 | } |
110 | if (id==121) && (mouse_cfg.pointer_speed>1) |
110 | if (id==121) && (mouse_cfg.pointer_speed>0) |
111 | { |
111 | { |
112 | mouse_cfg.pointer_speed--; |
112 | mouse_cfg.pointer_speed--; |
113 | SetMouseSpeed(mouse_cfg.pointer_speed); |
113 | SetMouseSpeed(mouse_cfg.pointer_speed); |
114 | } |
114 | } |
115 | if (id==122) && (mouse_cfg.acceleration<3) |
115 | if (id==122) |
116 | { |
116 | { |
117 | mouse_cfg.acceleration++; |
117 | mouse_cfg.acceleration++; |
118 | SetMouseAcceleration(mouse_cfg.acceleration); |
118 | SetMouseAcceleration(mouse_cfg.acceleration); |
119 | } |
119 | } |
120 | if (id==123) && (mouse_cfg.acceleration>0) |
120 | if (id==123) && (mouse_cfg.acceleration>0) |
Line 122... | Line 122... | ||
122 | mouse_cfg.acceleration--; |
122 | mouse_cfg.acceleration--; |
123 | SetMouseAcceleration(mouse_cfg.acceleration); |
123 | SetMouseAcceleration(mouse_cfg.acceleration); |
124 | } |
124 | } |
125 | if (id==124) |
125 | if (id==124) |
126 | { |
126 | { |
127 | mouse_cfg.double_click_delay+=10; |
127 | mouse_cfg.double_click_delay+=8; |
128 | SetMouseDoubleClickDelay(mouse_cfg.double_click_delay); |
128 | SetMouseDoubleClickDelay(mouse_cfg.double_click_delay); |
129 | } |
129 | } |
130 | if (id==125) && (mouse_cfg.double_click_delay>0) |
130 | if (id==125) && (mouse_cfg.double_click_delay>0) |
131 | { |
131 | { |
132 | mouse_cfg.double_click_delay-=10; |
132 | mouse_cfg.double_click_delay-=8; |
133 | SetMouseDoubleClickDelay(mouse_cfg.double_click_delay); |
133 | SetMouseDoubleClickDelay(mouse_cfg.double_click_delay); |
134 | } |
134 | } |
135 | DrawControls(); |
135 | DrawControls(); |
136 | break; |
136 | break; |