Profile

Cover photo
Peter Hutterer
Works at Red Hat
1,147,786 views
AboutPosts

Stream

Peter Hutterer

Shared publicly  - 
 
 
Recipe for full drawing tablet support in GNOME wayland:
☑ Libinput 1.4
☑ Tablet protocol v2
☑ Mutter support merged to master
☐ gtk+ support merged to master
☐ gnome-control-center UI updates merged to master

Planning to land the last two soon!

Props to +Peter Hutterer and +Jason Gerecke, their work and help to get here has been invaluable.
View original post
11
Add a comment...

Peter Hutterer

Shared publicly  - 
 
libinput 1.4 is out! Biggest new feature is the graphics tablet mode support but a few other little goodies are included too. Get it while it's fresh, it might be sold out by tomorrow.


https://lists.freedesktop.org/archives/wayland-devel/2016-July/030121.html
[ANNOUNCE] libinput 1.4.0. Peter Hutterer peter.hutterer at who-t.net. Mon Jul 18 04:35:42 UTC 2016. Previous message: Bring features of xinput list-props to libinput-list-devices; Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] ...
14
Add a comment...

Peter Hutterer

Shared publicly  - 
 
Title says it all really, read it if you're still using synclient to configure your touchpad.

https://who-t.blogspot.com.au/2016/07/why-synclient-does-not-work-anymore.html
More and more distros are switching to libinput by default. That's a good thing but one side-effect is that the synclient tool does not work anymore [1], it just complains that "Couldn't find synaptics properties. No synaptic...
7
1
Thiago Macieira's profile photoPeter Hutterer's profile photo
6 comments
 
oops, sorry. ECOFFEE, added a comment now. if you have both drivers chances are some xorg.conf snippet overrides libinput and assigns synaptics instead.
Add a comment...

Peter Hutterer

Shared publicly  - 
 
PSA: systemd/udev now tag touchpads with the ID_INPUT_TOUCHPAD_INTEGRATION property which has two possible values: "internal" and "external".

https://github.com/systemd/systemd/pull/3638

We need this in libinput for a couple of reasons but with the udev property it's easily available to any userspace process. Which is of course all part of our great master plan of getting the whole system to work together rather than just piling the hacks and workarounds into libinput.

Why do we need this in libinput you ask? For example, we don't enable disable-while-typing on external touchpads.
Add a ID_INPUT_TOUCHPAD_INTEGRATION property to label touchpads as internal and external. We have this in libinput already but it's useful to other processes as well, having it in one place helps. ...
5
Olav Vitters's profile photoPeter Hutterer's profile photo
4 comments
 
Add a comment...

Peter Hutterer

Shared publicly  - 
 
After a lot of work we're just about ready to release support tablet pad modes in libinput. This is a fairly niche feature but still commonplace in any serious graphics tablet usage scenario.

http://who-t.blogspot.com.au/2016/07/libinput-and-graphics-tablet-mode.html

This time we still need a set of kernel patches to be merged, but as usual the xorg, mutter and gtk patches are not far behind, courtesy of +Carlos Garnacho
In an earlier post, I explained how we added graphics tablet pad support to libinput. Read that article first, otherwise this article here will be quite confusing. A lot of tablet pads have mode-switching capabilities. Specif...
17
2
Add a comment...

Peter Hutterer

Shared publicly  - 
 
libinput 1.3.3 is now available. The big change is that we're re-instating the hysteresis for all touchpad devices. So those wobbly cursors you have seen are a thing of the past.

https://lists.freedesktop.org/archives/wayland-devel/2016-June/029680.html
[ANNOUNCE] libinput 1.3.3. Peter Hutterer peter.hutterer at who-t.net. Fri Jun 24 05:22:56 UTC 2016. Previous message: [PATCH weston v3 2/8] compositor: Track inhibition state in weston_surface; Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] ...
6
Add a comment...

Peter Hutterer

Shared publicly  - 
4
Simo Sorce's profile photo
 
Wow, that's balsy
Add a comment...

Peter Hutterer

Shared publicly  - 
 
http://who-t.blogspot.com.au/2016/07/libinput-is-done.html

libinput is done!

or rather, the TODO list we had when starting libinput is finished. pop the champagne!
Don't panic. Of course it isn't. Stop typing that angry letter to the editor and read on. I just picked that title because it's clickbait and these days that's all that matters, right? With the release of libinput 1.4 and the...
36
4
Robert Ancell's profile photoPekka Paalanen's profile photo
2 comments
 
Congratulations!
Add a comment...

Peter Hutterer

Shared publicly  - 
 
Please stop using numeric values for devices and properties in xinput, i.e. don't run
xinput set-prop 10 282 1
or similar. Use the name resolution instead.

http://who-t.blogspot.com.au/2016/07/xinput-resolves-device-names-and.html
xinput is a commandline tool to change X device properties. Specifically, it's a generic interface to change X input driver configuration at run-time, used primarily in the absence of a desktop environment or just for testing...
7
1
Add a comment...

Peter Hutterer

Shared publicly  - 
 
First RC for libinput 1.4 is out. Grab it why it's hot. The main new feature is the tablet pad mode support (see http://who-t.blogspot.com.au/2016/07/libinput-and-graphics-tablet-mode.html) but we now also support (configurable) rotation for trackballs. And the usual grab-bag of mixed fixes and improvements.

https://lists.freedesktop.org/archives/wayland-devel/2016-July/030023.html
[ANNOUNCE] libinput 1.3.901. Peter Hutterer peter.hutterer at who-t.net. Tue Jul 12 02:26:02 UTC 2016. Previous message: [PATCH weston] config-parser: Catch negative numbers assigned to unsigned config values; Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] ...
4
Add a comment...

Peter Hutterer

Shared publicly  - 
 
libinput's test suite currently runs 5101 tests. coincidentally, that's 5101 more than evdev and synaptics have together :)
12
Ben Iofel's profile photoPeter Hutterer's profile photo
2 comments
 
+Ben Iofel oops, thanks, fixed
Add a comment...

Peter Hutterer

Shared publicly  - 
 
A useful vim macro I've had in my .vimrc for ages. It maps mm to insert a printf with the file, line number and function name. The quickest way to sprinkle a bunch of printfs over a file for debugging. The :::::: prefix makes it stick out of any other debugging output and easy to grep for.

function! InsertMarker()
let string = "printf(\"::::::::: %s:%d:%s() - \\n\", _FILE_, _LINE_, _func_);"
call append(line('.'), string)
endfunction

command Marker call InsertMarker()
map mm :Marker<enter>

13
3
Peter Hutterer's profile photoYuri Khan's profile photoWayne Piekarski's profile photo
5 comments
 
+Peter Hutterer sorry for turning your posting into a discussion on how to kill vim ;)
Add a comment...
Collections Peter is following
Work
Employment
  • Red Hat
    Senior Software Engineer, present
Story
Introduction
X.Org input maintainer
Links