This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

is multi touch HID possible with nrf51822 chip?

Hi All,

       Currently i am working on nrf51822 for multi touch HID.For that i have chosen mouse HID example as a reference, in which i have changed HID descriptor(single touch) and some other things.So, that single touch has been working.

And, if i changed the HID descriptor for multi touch, touch devices(touch laptop) were showing "Bluetooth driver error".

is it possible multi touch HID over nrf51822 as a reference of mouse HID example?

if possible, what all changes are to be required to work for multi touch.

so, please guide me how to implement multi touch HID over nrf51822.

regards

akash.

  • Hi Matthew

    I am not sure how much help this project would be. Essentially I designed it to debug multi touch functionality. I tested it with an Android app called Multi Touch Test, and when pressing Button 4 on the kit repeatedly you should eventually see multiple points on the screen touched at the same time. 

    I never got it working quite as I expected, so it is not really a project I would recommend for other use cases. It does not try to replicate swipe either, this would probably require a different descriptor. 

    Best regards
    Torbjørn

  • Hi Ovrebekk

    Thanks for sharing the file.

     I have been able to test this successfully on Android,but I haven't been able to test this successfully on Windows and ios,what do i need to modify to work on windows and ios.

    Best regards

    Leon

  • Hi 

    What are you actually trying to implement? 

    This example is quite old and outdated by now, and is not really suitable for new designs. 

    These days we have moved development over to the nRF Connect SDK, and at some point it will be mandatory to use this software platform if you want to qualify new Bluetooth products. 

    Best regards
    Torbjørn

  • Hi Torbjørn

    I am going to make a bluetooth controller. When watching videos with a mobile app, I can control the video to slide up and down (similar to sliding a finger up and down the screen to switch videos).
    I can only use the HID mouse example now to achieve this function (similar to the bluetooth mouse to control the video up and down), but for how to position the mouse pointer to the specified position of the phone screen (for example, to the center of the screen), and I found the position of Android phone is different from that of Apple's location.

    Attached is my code.8171.main.c

    Best regards

    Leon

  • Hi Leon

    As far as I know there is no way for a HID mouse to know the screen size of the device that it is connected to, and an implementation that require you to find a specific point of the screen is bound to be unreliable across different types of phones. 

    Have you investigated if there is some other way to control the video that doesn't require you to simulate a touch, such as sending a vertical or horisontal scroll command?

    Best regards
    Torbjørn

Related