Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 1.16 KB

README.md

File metadata and controls

30 lines (25 loc) · 1.16 KB

RGB Yandex Controller

libs:

  • json
  • keyboard
  • requests
  • pyautogui
  • tkinter
  • time

functions main.py

  • choose_color - open the color picker, returns hex color code
  • hexToInt - changes hex code to int
  • rgbOn - turns on the lamp
  • rgbOff - turns off the lamp
  • rgbPicker - a color is sent to the input in the int format; the color of the lamp switches to sent

For the script to work

Main functionality:

  • I. Ctrl + 7 - Turn Off the lamp
  • II. Ctrl + 8 - Turn On the lamp
  • III. Ctrl + 9 - Turn on a first commonly used color // configured in the main.py (commonly_first variable)
  • IV. Ctrl + 6 - Turn on a second commonly used color // configured in the main.py (commonly_second variable)
  • V. Ctrl + 5 - Selecting a color using the color picker and turning it on

P.S. This script is convenient to use in the converted to .exe format