How to hide mouse cursor with weston and ivi-shell?

Vikas Patil vikasmpatil at gmail.com
Wed Dec 9 05:20:38 PST 2015


On Wed, Dec 9, 2015 at 6:29 PM, Pekka Paalanen <ppaalanen at gmail.com> wrote:
> On Wed, 9 Dec 2015 18:18:04 +0530
> Vikas Patil <vikasmpatil at gmail.com> wrote:
>
>> Dear All,
>>
>> I would like to have the mouse pointer support available with weston
>> and ivi-shell (with ivi-controller.so) but want to hide the cursor
>> which is always visible.
>>
>> Is there any easy way I can do this? Any ideas/suggestions?
>
> Hi,
>
> what is your use case? There are several answers depending on what you
> are doing and what kind of applications you are running.

Thanks for your quick reply.

I need mouse pointer support as rotary knob hard key on our platform
on GPIO added as standard mouse wheel support. I also required mouse
pointer support for the platform configuration which doesn't has touch
support so mouse can be used for development. If I know how to just
hide the cursor, probably I will try to do it via weston.ini config so
when required visibility of cursor can be enabled/disabled.

I  have application Qt/Qtwayland based HMI on top of weston and ivi-shell.

> All cursors are always set by clients, either applications or in
> hmi-controller's case weston-ivi-shell-user-interface.

I am not making use of hmi-controller and hence
weston-ivi-shell-user-interface. I am using ilm apis directly with
ivi-controller.so.

>> ** I can hide if I disable the MOUSE capability via udev custom rule
>> but I don't want to remove the pointer support as it is required. Just
>> want to hide the pointer drawing.
>
> How does pointer support without a cursor make any sense?
> You would be poking blind with the mouse, so there is no ready-made
> option to do that.

Regards,
Vikash


More information about the wayland-devel mailing list