Skip to content

Quirks backwards compatibility

This mr is intended to allow an application to embed a version of the libinput more recent than the one installed on the system.

Currently, very often, the parsing of the quirks fails which makes the quirks unusable.

Here are the changes made:

  • we can parse again the ModelLenovoTrackpointKeyboard2, ModelWacomISDV4Pen and ModelTabletNoProximityOut keywords but this does not lead to any change in the code
  • we can again parse and use the ModelALPSTouchpad, ModelHPStream11Touchpad, ModelLenovoL380Touchpad, ModelLenovoT480sTouchpad, ModelLenovoT490sTouchpad, AttrEventCodeDisable, AttrEventCodeEnable, AttrInputPropDisable and AttrInputPropEnable keywords which will be indicated as deprecated

So with this code, a libinput 1.22.1 will able to parse quirks from the version 1.12.6 and users will no longer have to change their local-overrides.quirks file in the case of libinput upgrade.

Edited by Gérard

Merge request reports