Home
last modified time | relevance | path

Searched refs:mouse_packet (Results 1 – 1 of 1) sorted by relevance

/linux-2.4.37.9/drivers/char/
Ddn_keyb.c337 static u_char mouse_packet[3]; in dn_keyb_process_mouse_event() local
341 mouse_packet[mouse_byte_count++]=mouse_data; in dn_keyb_process_mouse_event()
344 if(mouse_packet[0]==APOLLO_KBD_MODE_CHANGE) { in dn_keyb_process_mouse_event()
345 kbd_mode=mouse_packet[1]; in dn_keyb_process_mouse_event()
349 dn_keyb_process_key_event(mouse_packet[2]); in dn_keyb_process_mouse_event()
351 if((mouse_packet[0] & 0x8f) == 0x80) { in dn_keyb_process_mouse_event()
352 buttons = (mouse_packet[0] >> 4) & 0x7; in dn_keyb_process_mouse_event()
353 dx = mouse_packet[1] == 0xff ? 0 : (signed char)mouse_packet[1]; in dn_keyb_process_mouse_event()
354 dy = mouse_packet[2] == 0xff ? 0 : (signed char)mouse_packet[2]; in dn_keyb_process_mouse_event()