linusg / rpi-backlight

🔆 A Python module for controlling power and brightness of the official Raspberry Pi 7" touch display
https://rpi-backlight.readthedocs.io
MIT License
274 stars 31 forks source link

Add support for Microsoft Surface RT #54

Closed archisman-panigrahi closed 2 years ago

archisman-panigrahi commented 2 years ago

Added Surface RT support with automatic detection. Fixes #53

Tested on my Surface RT.

archisman-panigrahi commented 2 years ago

Please release a new version (so that Surface users can easily install with pip) when merged.

archisman-panigrahi commented 2 years ago

Done!

linusg commented 2 years ago

needs changes in every if statement of course :)

archisman-panigrahi commented 2 years ago

Done :)

archisman-panigrahi commented 2 years ago

Any updates? I am not sure why the GitHub build failed. The software seems to work without an issue.

linusg commented 2 years ago

you didn't run black, click on "Details" next to the red X

archisman-panigrahi commented 2 years ago

Oh, I didn't know about black before. Finally, done :)

archisman-panigrahi commented 2 years ago

Can you please release a new version and push it to pypi?