Search found 4 matches

by sdmeijer
Fri Jan 03, 2014 10:09 pm
Forum: V-USB
Topic: Left mouse button click not working under Linux (Debian)
Replies: 1
Views: 5352

Re: Left mouse button click not working under Linux (Debian)

I changed the usbHidReportDescriptor to the following and that works! const PROGMEM char usbHidReportDescriptor[89] = { //83 0x05, 0x01, // 52: USAGE_PAGE (Generic Desktop) 0x09, 0x02, // USAGE (Mouse) 0xa1, 0x01, // COLLECTION (Application) 0x85, 0x4d, // REPORT_ID (77) 0x09, 0x01, // USAGE (Pointe...
by sdmeijer
Fri Jan 03, 2014 10:08 pm
Forum: V-USB
Topic: usbHidReportDescriptor work under Linux or Windows, not both
Replies: 1
Views: 6678

Re: usbHidReportDescriptor work under Linux or Windows, not

I changed the usbHidReporterDescriptor to the following and that works! const PROGMEM char usbHidReportDescriptor[89] = { //83 0x05, 0x01, // 52: USAGE_PAGE (Generic Desktop) 0x09, 0x02, // USAGE (Mouse) 0xa1, 0x01, // COLLECTION (Application) 0x85, 0x4d, // REPORT_ID (77) 0x09, 0x01, // USAGE (Poin...
by sdmeijer
Fri Jan 03, 2014 5:08 pm
Forum: V-USB
Topic: usbHidReportDescriptor work under Linux or Windows, not both
Replies: 1
Views: 6678

usbHidReportDescriptor work under Linux or Windows, not both

I'm making a combo device (keyboard & mouse). This usbHidReportDescriptor works under Windows, but under Linux everything works except the left mouse button click (it does a right mouse button click): const PROGMEM char usbHidReportDescriptor[83] = { //83 0x05, 0x01, // USAGE_PAGE (Generic Deskt...
by sdmeijer
Sun Dec 29, 2013 10:42 pm
Forum: V-USB
Topic: Left mouse button click not working under Linux (Debian)
Replies: 1
Views: 5352

Left mouse button click not working under Linux (Debian)

The following code works under Windows and Linux (Debian). The only problem I have is that under Debian the left mouse button click doesn't work (I get a right mouse button click instead), under Windows it works as it should be. Who can help me? /* * Based on Obdev's AVRUSB code and under the same l...