tag:blogger.com,1999:blog-6112936277054198647.post7194778401026605367..comments2024-03-12T00:42:06.642+10:00Comments on Who-T: libinput - a common input stack for Wayland compositors and X.Org driversPeter Huttererhttp://www.blogger.com/profile/17204066043271384535noreply@blogger.comBlogger17125tag:blogger.com,1999:blog-6112936277054198647.post-65244364173033516502016-07-04T00:07:18.027+10:002016-07-04T00:07:18.027+10:00A nitpick: all combinations of 70 options is not 1...A nitpick: all combinations of 70 options is not 10¹⁰¹, but much less. It is the powerset of 70, and is equal to 2⁷⁰Hi-Angelhttps://www.blogger.com/profile/10661636579329649996noreply@blogger.comtag:blogger.com,1999:blog-6112936277054198647.post-24817274339691718092014-10-12T05:46:28.128+10:002014-10-12T05:46:28.128+10:00@Peter
Ah, I wasn't aware the drivers already ...@Peter<br />Ah, I wasn't aware the drivers already spoke evdev. <br />Thanks very much for the clarification.liamhttps://www.blogger.com/profile/14414946099433267898noreply@blogger.comtag:blogger.com,1999:blog-6112936277054198647.post-22879311973108789842014-09-26T14:50:45.363+10:002014-09-26T14:50:45.363+10:00liam: wacom and synaptics already use evdev as the...liam: wacom and synaptics already use evdev as the hardware protocol (and have done so for years). with very few exceptions we expect the kernel to have the hw drivers, present an evdev interface and we hook onto that in X/libinput.<br /><br />exceptions are serial devices, but even for those we're using kernel drivers (through inputattach if need be) so really, there is no hw-specific driver anymore.Peter Huttererhttps://www.blogger.com/profile/17204066043271384535noreply@blogger.comtag:blogger.com,1999:blog-6112936277054198647.post-26329180540799764822014-09-26T11:51:40.589+10:002014-09-26T11:51:40.589+10:00Hi Peter,
Very nice writeup.
Something that's...Hi Peter,<br /><br />Very nice writeup.<br />Something that's a bit unclear to me was when you said "these days we only speak evdev and the drivers that are hardware-specific are racing the dodos to the finishing line". That seems to be saying tha we'll only have a single driver for all hardware, but I don't see how that can be the case. Did you mean that all drivers would now need to use the evdev protocol? If that's so, does that mean that drivers like wacom or synaptics would need to be rewritten, or do they already speak evdev?<br /><br />Best/Liamliamhttps://www.blogger.com/profile/14414946099433267898noreply@blogger.comtag:blogger.com,1999:blog-6112936277054198647.post-50526856388167190272014-09-26T10:13:41.581+10:002014-09-26T10:13:41.581+10:00gioele: libinput is two APIs away from any applica...gioele: libinput is two APIs away from any applications. any processing of key events á la ibus would be in the compositor/wayland protocol and that's above where libinput sits in the stack.Peter Huttererhttps://www.blogger.com/profile/17204066043271384535noreply@blogger.comtag:blogger.com,1999:blog-6112936277054198647.post-29224531596407727762014-09-26T03:40:56.548+10:002014-09-26T03:40:56.548+10:00All very sensible, but allowing a separate touchpa...All very sensible, but allowing a separate touchpad mapping for the middle click is really vital - it's a very commonly used action in very commonly used software (web browsers for opening a new tab, and all sorts of text input boxes in toolkits that maintain different paste buffers for middle-click vs. ctrl-C). Emulating middle-click as left+right is only 90-95% reliable in my experience, and for something as vital as middle-click, that's not good enough.Alexandre Rostovtsevhttps://www.blogger.com/profile/01309495289632728998noreply@blogger.comtag:blogger.com,1999:blog-6112936277054198647.post-6748558515264212152014-09-26T02:12:13.267+10:002014-09-26T02:12:13.267+10:00Fred Morcos:
I use libcec-daemon for CEC input.
ht...Fred Morcos:<br />I use libcec-daemon for CEC input.<br />https://github.com/bramp/libcec-daemon<br /><br />I use it with X.Org, but it should work with libinput too.Malcolm Parsonshttps://www.blogger.com/profile/05126957385276806613noreply@blogger.comtag:blogger.com,1999:blog-6112936277054198647.post-89047924624554324902014-09-25T22:38:19.308+10:002014-09-25T22:38:19.308+10:00What about ibus and input/compositing engines in g...What about ibus and input/compositing engines in general? How do they fit this picture?<br /><br />Will we have again a situation in which some applications receive processed symbols from libinput and others receive their input via an input engine that, in turn, receives the raw keycode/scancodes from libinput/evdev?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6112936277054198647.post-85366292390756693232014-09-25T09:05:24.044+10:002014-09-25T09:05:24.044+10:00Peter: Are you sure this is the case? What is the ...Peter: Are you sure this is the case? What is the need for libcec then?Anonymoushttps://www.blogger.com/profile/11531746966317974183noreply@blogger.comtag:blogger.com,1999:blog-6112936277054198647.post-46007268922334995042014-09-25T07:52:56.172+10:002014-09-25T07:52:56.172+10:00Fred Morcos: that's kernel territory, by the t...Fred Morcos: that's kernel territory, by the time libinput gets to see it everything is evdev.<br /><br />Marcin Juszkiewicz: as daniels said, Wayland only. the keycode limitation is imposed by the X protocol, not by the input stack itself (e.g. XI2 has 32 bit keycodes).Peter Huttererhttps://www.blogger.com/profile/17204066043271384535noreply@blogger.comtag:blogger.com,1999:blog-6112936277054198647.post-27263782865053854762014-09-25T01:11:08.699+10:002014-09-25T01:11:08.699+10:00Taking away my middle button is definitely a case ...Taking away my middle button is definitely a case of http://xkcd.com/1172/...TomHhttps://www.blogger.com/profile/06632865762640235517noreply@blogger.comtag:blogger.com,1999:blog-6112936277054198647.post-38590450949763768672014-09-25T00:31:26.294+10:002014-09-25T00:31:26.294+10:00Marcin: It supports extended keycodes yes, but onl...Marcin: It supports extended keycodes yes, but only for Wayland. X.Org servers will just drop high keycodes, because it was deemed to be far too difficult to get high keycodes whilst retaining backwards compatibility with classic input (xmodmap et al) as well as XKB. Part of the problem here is that those 8-bit keycodes are part of Xlib API/ABI, so we can never break them, but still have to expose the entire map. As XKB is so complex, the combinatorial explosion of corner cases kills us. We sat down a while ago and worked out exactly how to fix it, and it fell firmly in the 'too hard' basket.danielshttps://www.blogger.com/profile/03032389787281932013noreply@blogger.comtag:blogger.com,1999:blog-6112936277054198647.post-30753220724251325682014-09-25T00:27:08.283+10:002014-09-25T00:27:08.283+10:00Everybody is linking the "X in SteamOS" ...Everybody is linking the "X in SteamOS" article, and I can't read it yet... being a poor student is not cool ;)<br /><br />Great article, but I am curious if game controllers also fit in libinput.Ismaelhttps://www.blogger.com/profile/14807134099812466071noreply@blogger.comtag:blogger.com,1999:blog-6112936277054198647.post-27630533453670691542014-09-24T23:12:29.277+10:002014-09-24T23:12:29.277+10:00Does it support >8bit keycodes for both Wayland...Does it support >8bit keycodes for both Wayland and X.Org?<br /><br />Microsoft Ergonomic Desktop 4000 has few keys with >8bit keycodes which work fine on text console (evtest) and fail to be recognized in X.Org (xev).Marcin Juszkiewiczhttps://www.blogger.com/profile/08033078794657590840noreply@blogger.comtag:blogger.com,1999:blog-6112936277054198647.post-54673843520546897572014-09-24T20:53:56.123+10:002014-09-24T20:53:56.123+10:00Are there any near-future plans to support CEC ove...Are there any near-future plans to support CEC over HDMI as an input source?Anonymoushttps://www.blogger.com/profile/11531746966317974183noreply@blogger.comtag:blogger.com,1999:blog-6112936277054198647.post-11082369991783349202014-09-24T19:05:52.392+10:002014-09-24T19:05:52.392+10:00What I am missing is:
* Scrolling for a TrackPoin...What I am missing is:<br /><br />* Scrolling for a TrackPoint<br />* Scrolling on the side of a TouchPad<br /><br />Two-finger scrolling is really awkward.jakhttps://www.blogger.com/profile/17642321912779274665noreply@blogger.comtag:blogger.com,1999:blog-6112936277054198647.post-67754102539294574042014-09-24T17:03:50.516+10:002014-09-24T17:03:50.516+10:00Dude, you just broke my workflow.
A true middle-c...Dude, you just broke my workflow.<br /><br />A true middle-click is a _must_ for modern web-browsers. And no, both-buttons-click is as braindead is it was on a mouse.<br /><br />So at least provide some way to set up the middle-button placement. Even Mac OS X allows that!Cyberaxhttps://www.blogger.com/profile/03129241076743498073noreply@blogger.com