[PATCH wayland-protocols] Add the tablet protocol

Daniel Stone daniel at fooishbar.org
Mon Nov 16 05:35:24 PST 2015


Hi,

On 16 November 2015 at 13:27, Carlos Garnacho <carlosg at gnome.org> wrote:
> On Mon, Nov 16, 2015 at 12:21 PM, Daniel Stone <daniel at fooishbar.org> wrote:
>> Can we please enforce a strict bracketing of down/up occurring in
>> matched pairs inside of proximity_in/out? So, the total event stream
>> would be:
>>   - proximity_in
>>     - motion
>>     - down
>>       - motion/motion/button/...
>>     - up
>>   - proximity_out
>>
>> I assume the implementation does this, but it would be nice to have
>> encoded in the protocol.
>
> It is worth noting that stylus button events can be obtained while in
> proximity regardless of down/up state, so that'd roughly be:
>
> - proximity_in
>   - motion/button/...
>   - down
>     - motion/button/...
>   - up
>   - motion/button/...
> - proximity_out

Oh sure, that's fine, just as long as down/up is strictly bracketed
such that you can't just get proximity_in -> down -> proximity_out ->
[nothing].

Cheers,
Daniel


More information about the wayland-devel mailing list