亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? kbm_desc.asm

?? Cypress 的(鼠標+鍵盤)復合設備匯編源程序
?? ASM
字號:
;========================================================================
;  This is the LOGITECH dual-interface keyboard   descriptor table file
;========================================================================
;6/16/99 alpha bug repairs
;========================================================================




		XPAGEOFF




ROM_PAGE0:
   device_desc0_table:
	db	12h		; size of descriptor (18 bytes)
	db	01h		; descriptor type (device descriptor)
	db	10h, 01h	; USB spec release (ver 1.1)
	db	00h		; class code (each interface specifies class information)
	db	00h		; device sub-class (must be set to 0 because class code is 0)
	db	00h		; device protocol (no class specific protocol)
	db	08h		; maximum packet size (8 bytes)
	db	B4h, 04h	; vendor ID (note Cypress vendor ID)
	db	01h, 01h	; product ID (Cypress USB keyboard/PS2 mouse product ID)
	db	01h, 00h	; device release number
	db	01h		; index of manufacturer string 
	db	02h		; index of product string 
	db	00h		; index of serial number string (0=none)
	db	01h		; number of configurations (1)
 end_device_desc0_table:
device_desc0_len:		EQU (end_device_desc0_table - device_desc0_table)
device_desc0_offset:   EQU (device_desc0_table - ROM_PAGE0) 





   config_desc_table:
	db	09h		; length of descriptor (9 bytes)
	db	02h		; descriptor type (CONFIGURATION)
	db	(end_config_desc_table - config_desc_table) ; total length of descriptor
	db	00h
        db      02h             ; number of interfaces to configure (2)
	db	01h		; configuration value (1)
	db	04h		; configuration string index
	db	A0h		; configuration attributes (bus powered, remote wakeup)
	db	32h		; maximum power (100mA)
   Interface1_Descriptor:  ; descriptor for interface 0 (HID keyboard)
	db	09h		; length of descriptor (9 bytes)
	db	04h		; descriptor type (INTERFACE)
	db	00h		; interface number (0)
	db	00h		; alternate setting (0)
	db	01h		; number of endpoints (1)
	db	03h		; interface class (3..defined by HID spec for HID)
	db	01h		; interface sub-class (1..defined by HID spec for Boot subclass)
	db	01h		; interface protocol (1..defined by HID spec for keyboard)
	db	05h		; interface string index 


   Class1_Descriptor:
	db	09h		; descriptor size (9 bytes)
      db    21h         ; descriptor type (HID)
	db	00h, 01h	; class specification (1.00)
	db	00h		; hardware target country
	db	01h		; number of hid class desriptors to follow (1)
	db	22h		; report descriptor type (2)
	db	(end_hid_report_desc1_table - hid_report_desc1_table)
	db    00h
   end_Class1_Descriptor:
Class1_Descriptor_len: EQU (end_Class1_Descriptor - Class1_Descriptor)
Class1_Descriptor_offset: EQU (Class1_Descriptor - ROM_PAGE0)

   Endpoint1_Descriptor:
	db	07h		; descriptor length (7 bytes)
	db	05h		; descriptor type (ENDPOINT)
	db	81h		; endpoint address (IN endpoint, endpoint 1)
	db	03h		; endpoint attributes (interrupt)
	db	08h, 00h	; maximum packet size (8 bytes)
	db	0Ah		; polling interval (10ms)

   Interface2_Descriptor:  ; descriptor for interface 1 (HID mouse)
 	db	09h		; length of descriptor (9 bytes)
	db	04h		; descriptor type (INTERFACE)
	db	01h		; interface number (1)
	db	00h		; alternate setting (0)
	db	01h		; number of endpoints (1)
	db	03h		; interface class (3..defined by HID spec for HID)
	db	01h		; interface sub-class (1..defined by HID spec for Boot subclass)
	db	02h		; interface protocol (1..defined by HID spec for mouse)
	db	06h		; interface string index 

   Class2_Descriptor:
	db	09h		; descriptor size (9 bytes)
      db    21h         ; descriptor type (HID)
	db	00h, 01h	; class specification (1.00)
	db	00h		; hardware target country
	db	01h		; number of hid class desriptors to follow (1)
	db	22h		; report descriptor type (2)
	db	(end_hid_report_desc2_table - hid_report_desc2_table)
	db    00h

   end_Class2_Descriptor:
   Class2_Descriptor_len: EQU (end_Class2_Descriptor - Class2_Descriptor)
   Class2_Descriptor_offset: EQU (Class2_Descriptor - ROM_PAGE0)

   Endpoint2_Descriptor:
	db	07h		; descriptor length (7 bytes)
	db	05h		; descriptor type (ENDPOINT)
	db	82h		; endpoint address (IN endpoint, endpoint 2)
	db	03h		; endpoint attributes (interrupt)
	db	05h, 00h	; maximum packet size (4 bytes)
	db	0Ah		; polling interval (10ms)

   end_config_desc_table:
config_descriptor_len: EQU (end_config_desc_table - config_desc_table)
config_descriptor_offset: EQU (config_desc_table - ROM_PAGE0)


   report_desc_table:
   hid_report_desc1_table:
	db	05h, 01h	; usage page (generic desktop)
	db	09h, 06h	; usage (keyboard)
	db	A1h, 01h	; collection (application)
	db	05h, 07h	; usage page( key codes)
	db	19h, E0h	; usage minimum (234)
	db	29h, E7h	; usage maximum (231)
	db	15h, 00h	; logical minimum (0)
	db	25h, 01h	; logical maximum (1)
	db	75h, 01h	; report size (1 bit)
	db	95h, 08h	; report count (8 bytes)
	db	81h, 02h	; input (data, variable, absolute)
	db	95h, 01h	; report count (1 byte)
	db	75h, 08h	; report size (8 bits)
	db	81h, 01h	; input (constant)
	db	95h, 05h	; report count (5)
	db	75h, 01h	; report size (1)
	db	05h, 08h	; usage page (LEDs)
	db	19h, 01h	; usage minimum (1)
	db	29h, 05h	; usage maximum (5)
	db	91h, 02h	; output (data, variable, absolute)
	db	95h, 01h	; report count (1)
	db	75h, 03h	; report size (3)
	db	91h, 01h	; output (constant)
	db	95h, 06h	; report count (6)
	db	75h, 08h	; report size (8)
	db	15h, 00h	; logical minimum (0)
	db	25h, 68h	; logical maximum (101)
	db	05h, 07h	; usage page (key codes)
	db	19h, 00h	; usage minimum (0)
	db	29h, 68h	; usage maximum (101)
	db	81h, 00h	; input (data, array)
	db	C0h		; end collection
   end_hid_report_desc1_table:
hid_report_desc1_table_len: EQU (end_hid_report_desc1_table - hid_report_desc1_table)
hid_report_desc1_table_offset: EQU (hid_report_desc1_table - ROM_PAGE0)
   hid_report_desc2_table:
 	db	05h, 01h	; usage page (generic desktop)
	db	09h, 02h	; usage (mouse)
	db	A1h, 01h	; collection (application)
	db	85h, 01h    ; report id (1)
	db	09h, 01h	; usage (pointer)
	db	A1h, 00h	; collection (linked)
	db	05h, 09h	; usage page (buttons)
	db	19h, 01h	; usage minimum (1)
	db	29h, 03h	; usage maximum (3)
	db	15h, 00h	; logical minimum (0)
	db	25h, 01h	; logical maximum (1)
	db	95h, 03h	; report count (3 bytes)
	db	75h, 01h	; report size (1)
	db	81h, 02h	; input (3 button bits)
	db	95h, 01h	; report count (1)
	db	75h, 05h	; report size (5)
	db	81h, 01h	; input (constant 5 bit padding)
	db	05h, 01h	; usage page (generic desktop)
	db	09h, 30h	; usage (X)
	db	09h, 31h	; usage (Y)
    db    09h, 38h    ; usage (wheel)                  
	db	15h, 81h	; logical minimum (-127)
	db	25h, 7Fh	; logical maximum (127)
	db	75h, 08h	; report size (8)
	db	95h, 03h	; report count (3)
	db	81h, 06h	; input (3 position bytes X & Y & wheel)
	db	C0h, C0h	; end collection, end collection
    
      db    5h,  1h     ; USAGE_PAGE (Generic Desktop)
      db    9h, 80h     ; USAGE (System Control)
      db    a1h,  1h    ; COLLECTION (Application)
      db	85h, 02h    ; report id (2)
      db    5h,  1h     ;   USAGE_PAGE (Generic Desktop)
      db    19h, 81h    ;   USAGE_MINIMUM (System Power Down)
      db    29h, 83h    ;   USAGE_MAXIMUM (System Wake Up)
      db    15h,  0h    ;   LOGICAL_MINIMUM (0)
      db    25h,  1h    ;   LOGICAL_MAXIMUM (1)
      db    95h,  3h    ;   REPORT_COUNT (3)
      db    75h,  1h    ;   REPORT_SIZE (1)
      db    81h,  6h    ;   INPUT (Data,Var,rel)
	db    95h, 01h	;   report count (1 byte)
	db	75h, 05h	;   report size (5 bits)
	db	81h, 01h	;   input (constant)
      db 	c0h         ; END_COLLECTION

	db	05h, 0Ch	; USAGE_PAGE (consumer)
	db	09h, 01h	; USAGE (consumer control)
	db	A1h, 01h	; COLLECTION (application)
      db	85h, 03h    ; report id (3)
	db	15h, 00h	;	LOGICAL_MINIMUM (0)
      db    25h, 01h    ; 	LOGICAL_MAXIMUM (1)
	db	09h, E9h	;	USAGE (Volume Increment)
	db	09h, EAh	;	USAGE (Volume Decrement)
      db    75h, 01h    ; 	REPORT_SIZE (1)
      db    95h, 02h    ; 	REPORT_COUNT (2)
	db	81h, 02h	;	INPUT (Data, Var, Abs, Preferred)
	db	09h, E2h	;	USAGE (Mute)
      db    95h, 01h    ; 	REPORT_COUNT (1)
	db	81h, 06h	;	INPUT (Data, Var, Rel, Preferred)
	db	95h, 05h	;	REPORT_COUNT (5)
	db	81h, 01h	;	INPUT (constant - padding)
	db	C0h		; END_COLLECTION	
 end_hid_report_desc2_table:

hid_report_desc2_table_len: EQU (end_hid_report_desc2_table - hid_report_desc2_table)
hid_report_desc2_table_offset: EQU (hid_report_desc2_table - ROM_PAGE0)

;
;*********************************************************
;         rom lookup tables for string descriptor
;*********************************************************


;string 0
USBStringDescription0:
    db 04h          ; Length
    db 03h          ; Type (3=string)
    db 09h          ; Language:  English
    db 04h          ; Sub-language: Default
end_USBStringDescription0:
USBStringDescription0_len: EQU (end_USBStringDescription0 - USBStringDescription0)
USBStringDescription0_offset: EQU (USBStringDescription0 - ROM_PAGE0)

; string 1
USBStringDescription1:	; IManufacturerName
    db 10h          ; Length
    db 03h          ; Type (3=string)
    dsu "Cypress" ;


end_USBStringDescription1:	; IManufacturerName
USBStringDescription1_len: EQU (end_USBStringDescription1 -	USBStringDescription1)
USBStringDescription1_offset: EQU (USBStringDescription1 - ROM_PAGE0)

; string 2
USBStringDescription2:	; IProduct
    db 42h          ; Length
    db 03h          ; Type (3=string)
    dsu "Cypress USB Keyboard / PS2 Mouse"  ;

end_USBStringDescription2:	; IProduct
USBStringDescription2_len: EQU (end_USBStringDescription2 -	USBStringDescription2)
USBStringDescription2_offset: EQU (USBStringDescription2 - ROM_PAGE0)

;string 3
USBStringDescription3:	; serial number
                        ; If a SN is used, this must be unique
                        ; for every device or the device may
                        ; not enumerate properly
end_USBStringDescription3:	; serial number
USBStringDescription3_len: EQU (end_USBStringDescription3 -	USBStringDescription3)
USBStringDescription3_offset: EQU (USBStringDescription3 - ROM_PAGE0)
; string 4                 
USBStringDescription4:	; configuration string descriptor
    db 2Ah          ; Length
    db 03h          ; Type (3=string)
    dsu "HID Keyboard / Mouse"  ;

end_USBStringDescription4:	; configuration string descriptor
USBStringDescription4_len: EQU (end_USBStringDescription4 -	USBStringDescription4)
USBStringDescription4_offset: EQU (USBStringDescription4 - ROM_PAGE0)

;string 5
USBStringDescription5:	; interface 0 string descriptor
    db 28h          ; Length
    db 03h          ; Type (3=string)
    dsu "EndPoint1 Interrupt"  ;
end_USBStringDescription5:	; interface 0 string descriptor
USBStringDescription5_len: EQU (end_USBStringDescription5 -	USBStringDescription5)
USBStringDescription5_offset: EQU (USBStringDescription5 - ROM_PAGE0)

;string 6
USBStringDescription6:	; interface 1 string descriptor
    db 1Ch          ; Length
    db 03h          ; Type (3=string)
    dsu "EP2 Interrupt"  ;

end_USBStringDescription6:	; interface 1 string descriptor
USBStringDescription6_len: EQU (end_USBStringDescription6 -	USBStringDescription6)
USBStringDescription6_offset: EQU (USBStringDescription6 - ROM_PAGE0)




lookup_table:
dw device_desc0_offset
db device_desc0_len,0

dw config_descriptor_offset
db config_descriptor_len,0

dw USBStringDescription0_offset
db USBStringDescription0_len,0

dw USBStringDescription1_offset
db USBStringDescription1_len,0

dw USBStringDescription2_offset
db USBStringDescription2_len,0

dw USBStringDescription3_offset
db USBStringDescription3_len,0

dw USBStringDescription4_offset
db USBStringDescription4_len,0

dw USBStringDescription5_offset
db USBStringDescription5_len,0

dw USBStringDescription6_offset
db USBStringDescription6_len,0

dw Class1_Descriptor_offset
db Class1_Descriptor_len,0

dw Class2_Descriptor_offset
db Class2_Descriptor_len,0

dw hid_report_desc1_table_offset
db hid_report_desc1_table_len,0

dw hid_report_desc2_table_offset
db hid_report_desc2_table_len,0



key_error_buffer:
db 01,01,01,01,01,01,01,01
key_error_offset:
dw (key_error_buffer - ROM_PAGE0)


    XPAGEON

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
kk眼镜猥琐国模调教系列一区二区| 久久精品99国产精品日本| 亚洲精品在线三区| 欧美成人性战久久| 欧美一级xxx| 精品1区2区在线观看| 久久综合九色综合久久久精品综合| 日韩精品一区二区三区老鸭窝| 日韩欧美中文一区| 久久夜色精品国产噜噜av| 亚洲国产一区二区在线播放| 天天色图综合网| 成人av网站在线| 丁香桃色午夜亚洲一区二区三区| 国产精品99久久久久久有的能看 | 亚洲精品欧美在线| 亚洲激情五月婷婷| 视频一区二区不卡| 精品午夜久久福利影院| 国产麻豆9l精品三级站| 99r国产精品| 欧美日韩黄色一区二区| 日韩欧美成人午夜| 亚洲人精品一区| 日本欧美一区二区在线观看| 国产成人无遮挡在线视频| 色域天天综合网| 欧美大片在线观看一区| 国产精品福利一区二区| 午夜久久久久久电影| 国产精品一区二区久久精品爱涩| 91在线视频官网| 日韩亚洲欧美成人一区| 国产精品久久毛片a| 日韩高清在线一区| 99久久久精品免费观看国产蜜| 欧美日韩一区二区在线视频| 久久久蜜桃精品| 丝袜国产日韩另类美女| 国产高清亚洲一区| 欧美精品一二三| 中文字幕中文字幕一区二区| 美国一区二区三区在线播放| 不卡一二三区首页| 精品久久一区二区三区| 一区二区三区四区高清精品免费观看 | 91久久人澡人人添人人爽欧美| 欧美三片在线视频观看| 国产无人区一区二区三区| 亚洲午夜av在线| 99久久国产综合精品色伊| 日韩午夜在线观看视频| 一区二区日韩电影| 国产.欧美.日韩| 欧美成人精品福利| 丝袜美腿一区二区三区| av电影天堂一区二区在线观看| 欧美tickling挠脚心丨vk| 亚洲一区二区在线观看视频| www.日本不卡| 中文字幕av在线一区二区三区| 男女性色大片免费观看一区二区| 色呦呦国产精品| 亚洲图片另类小说| 成人精品视频一区二区三区| 国产亚洲欧美在线| 国产在线视频不卡二| 欧美大片顶级少妇| 久久超碰97中文字幕| 日韩一区二区三区在线观看| 午夜在线成人av| 欧美日本乱大交xxxxx| 亚洲成人一二三| 欧美日本韩国一区| 午夜精品aaa| 日韩一区二区电影| 九一久久久久久| 久久久久久久久一| 国产精品白丝jk白祙喷水网站 | 亚洲男人天堂一区| av中文一区二区三区| 中文字幕一区二区三区不卡在线 | 亚洲精品国产无天堂网2021| 一本久道中文字幕精品亚洲嫩| 亚洲欧洲制服丝袜| 欧美体内she精视频| 奇米色一区二区| 精品91自产拍在线观看一区| 国产伦精品一区二区三区免费迷| 精品国产sm最大网站免费看| 国产成人av一区二区三区在线观看| 亚洲国产激情av| 色婷婷狠狠综合| 日韩高清不卡一区| 2020国产精品久久精品美国| 成人免费看黄yyy456| 综合电影一区二区三区| 欧美精品久久久久久久久老牛影院| 日本成人在线不卡视频| 国产亚洲欧美日韩日本| 色成人在线视频| 久久成人羞羞网站| 亚洲色图一区二区| 欧美在线观看你懂的| 日本美女视频一区二区| 中文字幕av不卡| 欧美日韩中文字幕精品| 国精产品一区一区三区mba视频| 国产色产综合产在线视频| 91丨九色丨国产丨porny| 日韩黄色免费电影| 中文字幕在线不卡视频| 69久久夜色精品国产69蝌蚪网| 国产馆精品极品| 奇米一区二区三区av| 中文字幕综合网| 精品国产成人系列| 欧美日韩精品是欧美日韩精品| 国产一区 二区 三区一级| 一区二区三区**美女毛片| 久久综合色一综合色88| 欧美亚洲国产bt| 国产盗摄视频一区二区三区| 日日骚欧美日韩| 一区二区三区在线视频免费| 久久久精品国产免大香伊 | 激情图区综合网| 亚洲mv在线观看| 亚洲欧洲无码一区二区三区| 精品乱人伦一区二区三区| 欧美视频你懂的| 色综合天天性综合| 国产不卡免费视频| 国产真实乱子伦精品视频| 日本色综合中文字幕| 亚洲观看高清完整版在线观看| 国产精品国产三级国产aⅴ无密码| 日韩一级大片在线| 欧美日韩国产小视频| 在线亚洲免费视频| 91婷婷韩国欧美一区二区| 成人毛片视频在线观看| 国产成人av一区二区三区在线| 毛片一区二区三区| 免费av网站大全久久| 亚洲成年人网站在线观看| 夜夜精品浪潮av一区二区三区| 亚洲色图自拍偷拍美腿丝袜制服诱惑麻豆| 国产亚洲人成网站| 国产精品网站在线| 欧美国产1区2区| 亚洲国产精华液网站w| 国产色婷婷亚洲99精品小说| 日本一区二区不卡视频| 国产精品乱码久久久久久| 欧美国产欧美综合| 中文字幕制服丝袜成人av| 国产精品美女一区二区三区 | 亚洲色图在线视频| 亚洲欧美国产三级| 亚洲一区二区三区四区不卡| 亚洲午夜激情网页| 图片区小说区区亚洲影院| 人人爽香蕉精品| 国产一区二区精品久久| 粉嫩蜜臀av国产精品网站| 99免费精品在线| 欧美亚洲综合在线| 日韩一区二区在线观看| 精品国产乱码久久久久久久| 亚洲国产高清在线观看视频| 亚洲人成电影网站色mp4| 亚洲福中文字幕伊人影院| 全国精品久久少妇| 国产成人精品免费网站| 日本伦理一区二区| 51精品视频一区二区三区| 久久精品一区二区三区不卡牛牛| 自拍偷自拍亚洲精品播放| 亚洲成av人影院| 国产成人综合在线观看| 一本久道久久综合中文字幕| 日韩一区二区电影| 亚洲三级免费电影| 久久国产麻豆精品| 成人h动漫精品一区二区| 欧美精品欧美精品系列| 欧美激情一区二区三区全黄| 午夜久久久久久| www.亚洲色图.com| 538prom精品视频线放| 日韩一区有码在线| 久久国产精品99久久久久久老狼| 99久久综合色| 欧美va亚洲va| 午夜精品久久久久久久久久久| 成人综合婷婷国产精品久久| 7777精品伊人久久久大香线蕉经典版下载| 国产女人18毛片水真多成人如厕| 午夜在线成人av|