/srv/irclogs.ubuntu.com/2017/03/22/#ubuntu-mir.txt

=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== Son_Goku is now known as Conan_Kudo
=== Conan_Kudo is now known as Son_Goku
=== chihchun is now known as chihchun_afk
=== JanC_ is now known as JanC
=== hikiko is now known as hikiko|ln
=== hikiko|ln is now known as hikiko
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== chihchun_afk is now known as chihchun
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
dandraderanpok, mir input event timestamps: does mir generates them from scratch or do they come from a lower layer?17:02
bschaeferdandrader, in platforms/evdev/libinput_devices.cpp17:19
bschaefer(say for keyboard: libinput_event_keyboard_get_time_usec)17:19
bschaefersoo it seems like it comes from libinput based on the event being translated17:19
dandraderbschaefer, ok, thanks. and yeah, I'm interested in kbd timestamps more specifically17:20
bschaefershould be this function: mir::EventUPtr mie::LibInputDevice::convert_event(libinput_event_keyboard* keyboard)17:21
bschaeferwhich sound propagate through all the nested bits into qtmir17:21
dandraderbschaefer, so to synthesize a mir event I guess I will have to add elapsed time to some known event timestamp17:21
bschaeferhmm yeah, umm let me check what evdev does17:22
bschaeferas we use timestamps to check which event was last (for surface raise... and something else now)17:24
bschaeferlooks like it uses a timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC | TFD_NONBLOCK);17:30
bschaefer(though not sure how much help that is when its past mir :)17:31
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!