Gracias KALLITOS:
Precisamente en este documento dicen que este byte es una constante y está reservada para fabricantes originales OEM, pero en otro documento dice que se debe modificar el HidSetReport y citan a Jan Alexon, ya hice esas pruebas y no me funciona. en tb056 explican y hay una aplicación en asemble para 18fxx pero yo no entiendo solo puedo manejar c18 o asembler para 16xxx.
La verdad quiero salir de la duda si no se puede hacer con la clase HID o debo tomar otro camino o si este es el correcto.
AN 1212
For some keyboards that have a custom implementation
that does not match a standard keyboard implementation,
a look-up table may be required in order to map the
key code returned to the desired usage ID. Keys, such
as Ctrl, Shift, Alt and GUI keys make up the 8-bit modifier
byte in a standard keyboard report. Byte 1 of this report
is a constant. This byte is reserved for the use of the
Original Equipment Manufacturer (OEM).
Table 2 describes the keyboard output report (1 byte).
tb056
The Set_Report Request
The Set_Report request is a HID specific command.
It was the only provision in Version 1.0 of the USB
specification that could send data from the host to a
peripheral. This later changed with Version 1.1 and the
introduction of the interrupt OUT transfer. All low-speed
devices created before the introduction of Version 1.1
had to use the Set_Report request for host-to-device
communication. The limitation of this is that
Set_Report communicates over Endpoint 0 (EP0).
Endpoint 0 is the control endpoint. In other words, EP0
is the avenue through which the device and host send
each other commands, so any outputted data from the
host has to share bandwidth with administrative................