HID USB Multimedia Keypad


Closed Thread
Results 1 to 32 of 32

Hybrid View

  1. #1
    Join Date
    Sep 2015
    Posts
    4

    Default Re: HID USB Multimedia Keypad

    i have downloaded the las HID USB Multimedia Keypad.zip attachment and now it compiles. but still the pc doesnt recognizes the device...

    i´ve changed the original reportdescriptor1, to the \usb18 folder mouse in a circle example keeping all the keypad original code and the pc recognizes the hid mouse, of course it moves the mouse pointer weird because the main program code is made for another reportdescriptor.
    that makes me doubt about the original reportdescriptor.


    ReportDescriptor1
    retlw 0x05
    retlw 0x01 ;usage page (generic desktop)
    retlw 0x09
    retlw 0x02 ;usage (mouse)
    retlw 0xA1
    retlw 0x01 ;collection (application)
    retlw 0x09
    retlw 0x01 ;usage (pointer)
    retlw 0xA1
    retlw 0x00 ;collection (linked)
    retlw 0x05
    retlw 0x09 ;usage page (buttons)
    retlw 0x19
    retlw 0x01 ;usage minimum (1)
    retlw 0x29
    retlw 0x03 ;usage maximum (3)
    retlw 0x15
    retlw 0x00 ;logical minimum (0)
    retlw 0x25
    retlw 0x01 ;logical maximum (1)
    retlw 0x95
    retlw 0x03 ;report count (3)
    retlw 0x75
    retlw 0x01 ;report size (1)
    retlw 0x81
    retlw 0x02 ;input (3 button bits)
    retlw 0x95
    retlw 0x01 ;report count (1)
    retlw 0x75
    retlw 0x05 ;report size (5)
    retlw 0x81
    retlw 0x01 ;input (constant 5 bit padding)
    retlw 0x05
    retlw 0x01 ;usage page (generic desktop)
    retlw 0x09
    retlw 0x30 ;usage (X)
    retlw 0x09
    retlw 0x31 ;usage (Y)
    retlw 0x15
    retlw 0x81 ;logical minimum (-127)
    retlw 0x25
    retlw 0x7F ;logical maximum (127)
    retlw 0x75
    retlw 0x08 ;report size (8)
    retlw 0x95
    retlw 0x02 ;report count (2)
    retlw 0x81
    retlw 0x06 ;input (2 position bytes X & Y)
    retlw 0xC0 ;end collection
    retlw 0xC0 ;end collection
    EndReportDescriptor1

  2. #2
    Join Date
    Jan 2006
    Location
    Toronto
    Posts
    109

    Default Re: HID USB Multimedia Keypad

    If you have doubts about it did you at least test the original code as is to verify?

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts