Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 5th February 2004, 11:48 AM   (permalink)
Default Report Descriptors - Mouse

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.
__________________
Whatever You do, do all to the Glory of God.
I Corinthians 10:31
Bella is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 06:29 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker