Searched refs:buttons_Port2 (Results 1 – 1 of 1) sorted by relevance
135 struct button_struct buttons_Port2; variable297 buttons_Port2.startbit=gOffsetBit_Port2; in hid_chk_variable_Port2()298 buttons_Port2.count=parser->global.report_size * rpt_count; in hid_chk_variable_Port2()299 …USB_HID_DBG(printf("Usage Page (buttons): %X size: %X\n", buttons_Port2.startbit, buttons_Port2.co… in hid_chk_variable_Port2()301 gOffsetBit_Port2+=buttons_Port2.count; in hid_chk_variable_Port2()717 tmp2=GetValue_Port2(report,buttons_Port2.startbit,buttons_Port2.count); in Parse_Joystick_Report_Port2()719 if (buttons_Port2.val!=tmp2) in Parse_Joystick_Report_Port2()721 USB_HID_DBG(printf("buttons:%x %x\n",buttons_Port2.val, tmp2)); in Parse_Joystick_Report_Port2()722 buttons_Port2.val=tmp2; in Parse_Joystick_Report_Port2()769 buttons_Port2.count = 0; in GetReportDescriptor_Port2()[all …]