Skip to content

v0.4

Choose a tag to compare

@Crozzers Crozzers released this 15 Nov 00:24

Added:

  • Added support for DDC/CI commands in Windows, meaning that most desktop monitors can now also be controlled using this package
  • Added an XRandr method for Linux. The module attempts to call Xrandr before XBacklight and after Light
  • Added the display kwarg to allow users to specify which display they wish to control. Also added to command line args
  • Added --verbose command line arg, which increases the verbosity of any error messages

Changed:

  • Re-structured the module to allow for easier upgrades/changes in the future
  • Improved error formatting

Removed:

  • Removed the max_value kwarg

Special thanks to lcharles for raising issue #1 and making me aware that DDC/CI commands existed

v0.4.1

  • Added method kwarg to brightness methods so that you can choose how the brightness is adjusted. On windows the options are 'wmi' and 'vcp' and on linux they are 'light', 'xrandr' and 'xbacklight'
  • Added method command line arg
  • Merged pull request from lcharles #2 to add top-level function list_monitors (Windows only), add a command line option for this and add a function in the windows module called list_monitors_with_method, which returns list of pairs of display names and their methods
  • Fixed the XRandr.get_brightness function returning the wrong type