Skip to content

tools: add a tool to update our Razer quirks for internal keyboards

Peter Hutterer requested to merge whot/libinput:wip/razerutil into main

openrazer keeps a convenient list of keyboard devices that belong to the RazerBlade line and thus should be marked as internal by us. Let's use that one.

This script git clones the current openrazer repo, imports the file we need and then overwrites our current quirks file with the sorted list of devices.

For the second part of this to work reliable we need a marker in the quirks file that marks the start of autogenerated entries.

Heavily influenced by @danryu in !887 (closed).

Edited by Peter Hutterer

Merge request reports