Usage of ivi_input interface

Jacobo Aragunde Pérez jaragunde at igalia.com
Thu Mar 30 06:02:16 EDT 2017


Thanks Eugen,

After reading those docs, I understand there is no way to "subscribe" to
changes in input acceptance; my application should ask through the ILM
API every time I need that information. Is this correct?

Best,
-- 
Jacobo Aragunde
Software Engineer at Igalia


On 29/03/17 13:12, Friedrich, Eugen (ADITG/SW1) wrote:
> Hello Jacobo,
> 
> Please refer to the 
> https://at.projects.genivi.org/wiki/display/WIE/10.+Getting+Started+with+new+Input+Handling+APIs
> 
> some of the content is outdated (e.g. mentioned version of ilm libraries) but it should give the overview
> 
> 
> Best regards
> 
> Eugen Friedrich
> Software Group I (ADITG/SW1)
> 
> Tel. +49 5121 49 6921
> 
>> -----Original Message-----
>> From: genivi-ivi-layer-management [mailto:genivi-ivi-layer-management-
>> bounces at lists.genivi.org] On Behalf Of Jacobo Aragunde Pérez
>> Sent: Mittwoch, 29. März 2017 11:53
>> To: genivi-ivi-layer-management at lists.genivi.org
>> Cc: genivi-projects at lists.genivi.org
>> Subject: Usage of ivi_input interface
>>
>> Hi,
>>
>> I've been checking the Wayland API for the seat object [1],
>> unfortunately there is not a lot that can be done with it. I can use it
>> to build a "map" of the available seats and the input devices they
>> provide, but there is no way to limit input for surfaces to a certain seat.
>>
>> More interestingly, the ivi-input interface provided by
>> wayland-ivi-extensions [2] can do that assignment between surfaces and
>> seats. I haven't found a way to register to the input_acceptance event
>> specified by this interface, though, and that's exactly what I need.
>>
>> Has any of you used it before? Do you have examples or any code pointers?
>>
>> Thanks in advance!
>>
>> [1] https://wayland.freedesktop.org/docs/html/apa.html#protocol-spec-
>> wl_seat
>> [2]
>> https://github.com/GENIVI/wayland-ivi-
>> extension/blob/master/protocol/ivi-input.xml
>>
>> --
>> Jacobo Aragunde
>> Software Engineer at Igalia
>> _______________________________________________
>> genivi-ivi-layer-management mailing list
>> genivi-ivi-layer-management at lists.genivi.org
>> http://lists.genivi.org/mailman/listinfo/genivi-ivi-layer-management





More information about the genivi-ivi-layer-management mailing list