Subversion Repositories Kolibri OS

Rev

Rev 3711 | Rev 5051 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3711 Rev 4531
Line 999... Line 999...
999
        jz      .postprocess_done
999
        jz      .postprocess_done
1000
; 3. Get pointer to driver callbacks depending on [collection.usage].
1000
; 3. Get pointer to driver callbacks depending on [collection.usage].
1001
; If [collection.usage] is unknown, use default driver if HID_DUMP_UNCLAIMED
1001
; If [collection.usage] is unknown, use default driver if HID_DUMP_UNCLAIMED
1002
; and do not assign a driver otherwise.
1002
; and do not assign a driver otherwise.
1003
        mov     esi, mouse_driver
1003
        mov     esi, mouse_driver
-
 
1004
        cmp     [edi+collection.usage], USAGE_GD_POINTER
-
 
1005
        jz      .has_driver
1004
        cmp     [edi+collection.usage], USAGE_GD_MOUSE
1006
        cmp     [edi+collection.usage], USAGE_GD_MOUSE
1005
        jz      .has_driver
1007
        jz      .has_driver
1006
        mov     esi, keyboard_driver
1008
        mov     esi, keyboard_driver
1007
        cmp     [edi+collection.usage], USAGE_GD_KEYBOARD
1009
        cmp     [edi+collection.usage], USAGE_GD_KEYBOARD
1008
        jz      .has_driver
1010
        jz      .has_driver