cancel
Showing results for 
Search instead for 
Did you mean: 

custom multi touch USB_HID

Posted on July 09, 2018 at 15:32

Hi all,

I have few following doubts regarding board...please clarify them...

1. is it possible to implement a multi touch USB HID descriptor?. Because, i have already implemented a single touch descriptor and tested on STM32F411VE-Disco board,and which was working for me.

when i started to working on multi touch with same board, i couldn't able to get anything(single touch/multi touch).

But in both(single/multi) ways, i am simulating(hard coded) data and sending to PC, which working for single touch but not for multi touch.

If it is works for multi touch.... i have some more doubts on USB library.

1.In my case i need to send feature report to PC, to work as a multi touch.so, how to send feature report to PC or from PC?

below code is my input report, which i am sending from device  to PC. 

//finger 1 data

my_buff[0] = 0x02;

my_buff[1] = 0x07;

my_buff[2] = 0x00;

my_buff[3] = 0x7a;

my_buff[4] = 0x04;

my_buff[5] = 0xdf;

my_buff[6] = 0x02;

//finger2 data

my_buff[7] = 0x07;

my_buff[8] = 0x01;

my_buff[9] = 0x7a;

my_buff[10] = 0x04;

my_buff[11] = 0xdf;

my_buff[12] = 0x02;

//maximum contact count..

my_buff[13] = 0x02;

USBD_HID_SendReport (&hUsbDeviceFS,

my_buff,

14);

 2.And what are all things need to be take care, device to work as a multi touch.

Here i m attaching my report descriptor for 2 fingures...

please help me out to work it as multi touch device.

thank you

0 REPLIES 0