Touch/pointer input focus on multi-seat
Ucan, Emre (ADITG/SW1)
eucan at de.adit-jv.com
Wed Apr 19 08:43:26 EDT 2017
If you have two touchscreens, you should also have two different touch devices.
Then you can basically assign the touch device of screen 0 to seat 1 and touch device of screen 1 to seat 2.
You do not need to set focus for touch devices. It set automatically when you touch a surface.
Software Group I (ADITG/SW1)
Tel. +49 5121 49 6937
> -----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, 19. April 2017 14:38
> To: genivi-ivi-layer-management at lists.genivi.org
> Cc: genivi-projects at lists.genivi.org
> Subject: Touch/pointer input focus on multi-seat
> Here I am again, pushing the boundaries of the multi-seat implementation :)
> The goal is to be able to run two browser windows on separate screens
> and each with their own set of input devices. Imagine I have a board
> connected to two touch screens and two keyboards, and the following seat
> * seat_1: keyboard A, touch input on screen 0
> * seat_2: keyboard B, touch input on screen 1
> Then I create two browser windows, and assign them to screens and seats
> like this:
> * surface id 7001: visible on screen 0, input acceptance to seat_1
> * surface id 7002: visible on screen 1, input acceptance to seat_2
> Now I give both surfaces the keyboard focus; with the work I've done so
> far in the browser, each surface will receive keystrokes from their own
> keyboard. So far so good :)
> Unfortunately, when I try to do the same with the touch focus, it's
> impossible to do. This is the error message I get:
> # LayerManagerControl set surfaces 7002,7001 input focus touch
> setting input focus in LayerManagerControl
> Cannot set pointer or touch focus for multiple surfaces
> LayerManagerService returned: failed
> Failed to set input focus
> So it looks it's not possible by design. Any ideas how to do this setup?
> Thank you in advance!
> genivi-ivi-layer-management mailing list
> genivi-ivi-layer-management at lists.genivi.org
More information about the genivi-ivi-layer-management