How to use WinCE 6 USB HID Mouse driver for HID Touch RRS feed

  • Question

  • Hello,

    is it possible to use the USB HID mouse driver for USB HID Touch screens? If so, how could I configure the mouse driver to accept absolute coordinates?



    Thursday, October 20, 2011 10:28 AM


  • The HID driver passes mouse events to GWES using the mouse_event API (see %_WINCEROOT%\PUBLIC\COMMON\OAK\DRIVERS\USB\CLASS\HID\CLIENTS\MOUHID\BASE\mouhid.cpp).

    The first thing that comes to my mind is cloning (see Bruce Eitman's blog the MOUHID.DLL driver and modify the following:

        if (fSendEventToSystem) {
            dwFlags |= MOUSEEVENTF_ABSOLUTE;  //added
            mouse_event(dwFlags, dx, dy, dwData, 0);


    Luca Calligaris lucaDOTcalligarisATeurotechDOTcom Check my blog:
    • Marked as answer by Andreas_1981 Thursday, October 27, 2011 6:31 AM
    Friday, October 21, 2011 3:08 PM