Jump to content

The_Hawk

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by The_Hawk

  1. Searching on internet i think that i've to do something like this: void CALLBACK_HID_Device_ProcessHIDReport ( USB_ClassInfo_HID_Device_t *const HIDInterfaceInfo, const uint8_t ReportID, const uint8_t ReportType, const void * ReportData, const uint16_t ReportSize ) { uint8_t* Data = (uint8_t*)ReportData; } but how i can manage the "Data" variable in the arduino sketches? :helpsmilie:
  2. Thank you Ian for your links; i've read that and searched about what i need. The result is that i've to implement the function void CALLBACK_HID_Device_ProcessHIDReport ( USB_ClassInfo_HID_Device_t *const HIDInterfaceInfo, const uint8_t ReportID, const uint8_t ReportType, const void * ReportData, const uint16_t ReportSize ) That is not implemented in darran firmware and into overpro firmware. Somebody have idea how to program this function?
  3. Ian thanks for your response and i'm sorry for not giving you a lot of infos. I'm sorry if my english it's not perfect. I'm new with Arduino but i understand it easily becouse i've electronics skills and i'm a student in computer science than i've discrete skills on programming, particularly with C/C++. I wrote here becouse i need the same thing as the joystick firmware do to send HID reports from Arduino to my PC. But i'm building a sterring wheel and i want to add some leds and the force feedback. Than i've implemented in java an application that retrieve infos from the games that interest me (becouse a self-builded joystick or other will not interact directly with the game) and i want to send that infos to the Arduino with HID4java library. I saw the firmware in this post and it is not implementing this feature. (receive hid reports from the PC) How i can do it? Or there is someone that can help me doing this? Hope now you've enough infos (you can ask me others if needed) and if a new thread is required i will provide to do it in the right section. Thanks again.
  4. Hi guys, i'm tryng to develop by myself a steering wheel with a mega 2560 R3 and i've found this post that can help me to di it more easily. I've read all this discussion and certainly i can allow to work my arduino as a steering whell (pressing buttons encoders and so on...), but i can't find anything about receiving data report from the PC. Can anyone help me to send reports from PC to arduino and how i have to modify the firmware??
×
×
  • Create New...