Coder Social home page Coder Social logo

ivanbratovic / dualsense-led-configurator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cow-killer/dualsense-led-configurator

0.0 0.0 0.0 236 KB

Change LEDs on DualSense (Linux only)

License: GNU General Public License v3.0

Python 100.00%

dualsense-led-configurator's Introduction

DualSense LED Configurator

DS LED Config Screenshot This program allows the user to adjust color and brightness to the various LEDs found throughout the DualSense (DS). Rainbow, disco, or otherwise random effects can be applied, though these are unstable. Also fetches battery percentage and displays this.

Prerequisites (besides your DS, obviously)

  • Linux-based operating system with kernel 5.12 or later
  • Access to root privileges (the program modifies the values found in /sys/devices/pci0000:00/(long string followed by a bunch of folders)/)
  • Python 3
  • GTK 3
  • Tkinter

What You Should Know

The program is highly unstable depending on what button you press, in particular:

  • Rainbow LED colors
  • Disco/Progress bar LED patterns

Clicking any of those buttons (which have been labeled as unstable accordingly) will cause the program to loop indefinitely. You'll need to do one of the following:

  • Press Enter in the terminal window to either close the application or keep it from looping
  • force exit the application through your system monitor
  • disconnect your DS

Other tasks going on on your computer will still run regardless.

How To Use

  1. Clone the repository:
    git clone https://github.com/cow-killer/dualsense-led-configurator.git
  2. Change into the dualsense-led-configurator folder and run the script as root:
    sudo python ds_led.py

To-Do

  • Much-needed UI polish
  • Find a way to get rainbow LEDs, disco, etc. to work without hanging the application
  • Update UI if controller is plugged/unplugged and if the percentage of the battery has changed

Pull requests welcomed!

dualsense-led-configurator's People

Contributors

cow-killer avatar ivanbratovic avatar thats-the-joke avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.