Rev 7371 | Rev 7434 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7371 | Rev 7372 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | // Mouse Configuration Utility ver 1.5 |
1 | // Mouse Configuration Utility ver 1.51 |
Line 2... | Line 2... | ||
2 | 2 | ||
3 | #ifndef AUTOBUILD |
3 | #ifndef AUTOBUILD |
4 | #include "lang.h--" |
4 | #include "lang.h--" |
Line 78... | Line 78... | ||
78 | } |
78 | } |
79 | break; |
79 | break; |
Line 80... | Line 80... | ||
80 | 80 | ||
81 | case evButton: |
81 | case evButton: |
82 | id = GetButtonID(); |
82 | id = GetButtonID(); |
83 | if (id == 1) ExitApp(); |
83 | if (1 == id) ExitApp(); |
84 | else if (pointer_speed.click(id)) ApplyCfg(); |
84 | else if (pointer_speed.click(id)) ApplyCfg(); |
85 | else if (acceleration.click(id)) ApplyCfg(); |
85 | else if (acceleration.click(id)) ApplyCfg(); |
86 | else if (double_click_delay.click(id)) ApplyCfg(); |
86 | else if (double_click_delay.click(id)) ApplyCfg(); |
87 | else if (emulation.click(id)) { |
87 | else if (emulation.click(id)) { |
88 | if (emulation.checked == true) RunProgram("/sys/mousemul", 0); |
88 | if (emulation.checked == true) RunProgram("/sys/mousemul", 0); |
89 | else KillProcessByName("mousemul", SINGLE); |
89 | else KillProcessByName("/sys/mousemul", SINGLE); |
90 | break; |
90 | break; |
91 | } |
91 | } |
92 | else if (madmouse.click(id)) { |
92 | else if (madmouse.click(id)) { |
93 | if (madmouse.checked == true) RunProgram("/sys/madmouse", 0); |
93 | if (madmouse.checked == true) RunProgram("/sys/madmouse", 0); |
94 | else KillProcessByName("madmouse", SINGLE); |
94 | else KillProcessByName("/sys/madmouse", SINGLE); |
95 | break; |
95 | break; |
96 | } |
96 | } |
Line 97... | Line 97... | ||
97 | break; |
97 | break; |