10-generic-keyboard.quirks 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. # Do not edit this file, it will be overwritten on update
  2. [Serial Keyboards]
  3. MatchUdevType=keyboard
  4. MatchBus=ps2
  5. AttrKeyboardIntegration=internal
  6. [Bluetooth Keyboards]
  7. MatchUdevType=keyboard
  8. MatchBus=bluetooth
  9. AttrKeyboardIntegration=external
  10. # Detachable devices usually have the tablet part buttons wired as ps2 keyboard,
  11. # don't disable them when tablet-mode switch is in effect.
  12. # DMI Chassis Type 20h (32 decimal) is Detachable as per SMBIOS specification.
  13. [Detachable Device Buttons]
  14. MatchBus=ps2
  15. MatchUdevType=keyboard
  16. MatchDMIModalias=dmi:*:ct32:*
  17. ModelTabletModeNoSuspend=1
  18. # Tablet devices usually have the tablet part buttons wired as ps2 keyboard,
  19. # despite being tablets some of them, e.g. Microsoft Surface Laptop Studio,
  20. # expose tablet-mode switch, so don't disable the ps2 keyboard.
  21. # Tablets that don't expose tablet-mode switch won't have any diference.
  22. # DMI Chassis Type 1Eh (30 decimal) is Tablet as per SMBIOS specification.
  23. [Tablet Device Buttons]
  24. MatchBus=ps2
  25. MatchUdevType=keyboard
  26. MatchDMIModalias=dmi:*:ct30:*
  27. ModelTabletModeNoSuspend=1