kolibrios-fun/programs/cmm/mouse_cfg/kos_mouse_functions.h
Kirill Lipatov (Leency) 00fcd51abd Mouse_cfg v1.0: Mouse configuration tool
Fix panels_cfg

git-svn-id: svn://kolibrios.org@5630 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-07-30 14:54:30 +00:00

28 lines
394 B
C

inline fastcall int GetMouseSpeed() {
$mov eax,18
$mov ebx,19
$mov ecx,0
$int 0x40
}
inline fastcall void SetMouseSpeed(EDX) {
$mov eax,18
$mov ebx,19
$mov ecx,1
$int 0x40
}
inline fastcall int GetMouseDelay() {
$mov eax,18
$mov ebx,19
$mov ecx,2
$int 0x40
}
inline fastcall void SetMouseDelay(EDX) {
$mov eax,18
$mov ebx,19
$mov ecx,3
$int 0x40
}