Peter Hutterer: libinput and button click lock support

Peter Hutterer · Dec 3, 2026 · about 2 min read

AI summary AI-generated, may contain mistakes

Peter Hutterer announces that libinput 1.33 will introduce a 'Click Lock' accessibility feature, implemented by Owen Kent, which lets users nominate buttons (like BTN_LEFT and BTN_RIGHT) that lock logically down on one press and release on a second press, similar to Caps Lock. The locking behavior depends on a configurable timeout (defaulting to 1.2 seconds) and movement threshold (defaulting to 1mm), with an option to set the timeout to zero so any click locks immediately. He encourages compositor developers to integrate the feature soon, while jokingly noting that similar functionality has existed in the xf86-input-mouse driver since at least 2003.

*knock* *knock* art thys thung workyng?

It's been a while, but we haven't been whiling away the time[0]. Instead libinput has seen a few new features, scheduled for the upcoming 1.33 release. In this post I'll be discussing the brand new[1] novel[1] innovative[1] feature of the "Click Lock".

Typically, in order to hold a button down a user would have to, well, hold the button down. This is of course inconvenient when something prevents you from doing that, be that some physiodivergency or just lack of patience in regards to the button and it's pressing demands. This is where click lock comes in - it lets you nominate buttons that use a locking approach we typically know from the Caps Lock key[2]: press once to logically hold it down, press a second time to release.

Keep reading

Out of respect for the author only the opening is shown here. Read the rest on the original site, or in HorizonReader with highlights, notes and AI help.