Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Report Descriptors - Mouse

Status
Not open for further replies.

Bella

New Member
I have created the report descriptors for the 6-button (on/off, page up/down and scroll up/down) wireless presentaion mouse. That is given below:

USAGE_PAGE (Generic Desktop) 05 01
USAGE (Mouse) 09 02
COLLECTION (Application) A1 01
USAGE (Pointer) 09 01
COLLECTION (Physical) A1 00
USAGE_PAGE (Button) 05 09
USAGE_MINIMUM(Button 1) 19 01
USAGE_MAXIMUM(Button 6) 29 06
LOGICAL_MINIMUM (0) 15 00
LOGICAL_MAXIMUM (1) 25 01
REPORT_COUNT (6) 95 06
REPORT_SIZE (1) 75 01
INPUT (Data,Var,Abs) 81 02
REPORT_COUNT (1) 95 02
INPUT (Cnst,Var,Abs) 81 03
USAGE_PAGE(Generic Desktop) 05 01
USAGE(X) 09 30
USAGE(Y) 09 31
USAGE(Wheel) 09 38
LOGICAL_MINIMUM(-127) 15 81
LOGICAL_MAXIMUM(127) 25 7F
REPORT_SIZE(8) 75 08
REPORT_COUNT(2) 95 03
END_COLLECTION C0
END_COLLECTION C0

I have missed the page up and page down buttons in the report desciptors. The page up and page down buttons are like the keyboard page up and page down buttons. How it can be declared?. What lines are to be added in the report descriptors for the page up and down buttons?. Please reply.
 
Status
Not open for further replies.

New Articles From Microcontroller Tips

Back
Top