Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 5294 → Rev 5148

/drivers/usb/usbhid/multimedia.inc
148,9 → 148,8
test edx, edx
jz .multimedia_key_released
.multimedia_key_pressed:
mov [edi+multimedia_device_data.last_pressed], eax
; The key is pressed.
push eax
push ecx
mov ecx, 0xE0
invoke SetKeyboardData
pop ecx
161,7 → 160,7
mov [edi+multimedia_device_data.last_pressed], 0
; The key is released.
or cl, 0x80
push eax
push ecx
mov ecx, 0xE0
invoke SetKeyboardData
pop ecx