Control backlight of 51NB X330 (X230 with FHD mod)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

10 lines
249 B

ifeq ($(PREFIX),)
PREFIX := /usr/local
endif
all:
g++ -lhidapi-hidraw x330backlight.cpp -o x330backlight
install: all
install -Dm755 x330backlight $(PREFIX)/bin/x330backlight
install -Dm755 x330backlight-sync $(PREFIX)/bin/x330backlight-sync