mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	pine64-pinebook-pro: remove superfluous bright/sleep keys
Upstream udev has had that since 2020: f25e30dec4
			
			
This commit is contained in:
		@@ -43,14 +43,6 @@
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  services.udev.extraHwdb = lib.mkMerge [
 | 
			
		||||
    # https://gitlab.manjaro.org/manjaro-arm/packages/community/pinebookpro-post-install/blob/master/10-usb-kbd.hwdb
 | 
			
		||||
    ''
 | 
			
		||||
      evdev:input:b0003v258Ap001E*
 | 
			
		||||
        KEYBOARD_KEY_700a5=brightnessdown
 | 
			
		||||
        KEYBOARD_KEY_700a6=brightnessup
 | 
			
		||||
        KEYBOARD_KEY_70066=sleep
 | 
			
		||||
    ''
 | 
			
		||||
 | 
			
		||||
    # https://github.com/elementary/os/blob/05a5a931806d4ed8bc90396e9e91b5ac6155d4d4/build-pinebookpro.sh#L253-L257
 | 
			
		||||
    # Disable the "keyboard mouse" in libinput. This is reported by the keyboard firmware
 | 
			
		||||
    # and is probably a placeholder for a TrackPoint style mouse that doesn't exist
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user