{"id":15935845,"url":"https://github.com/flozz/suorafxctl","last_synced_at":"2025-03-25T06:30:53.133Z","repository":{"id":57472302,"uuid":"424678346","full_name":"flozz/suorafxctl","owner":"flozz","description":"Configure Roccat Suora FX keyboards on Linux","archived":false,"fork":false,"pushed_at":"2024-10-28T12:44:55.000Z","size":48,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-19T09:14:32.187Z","etag":null,"topics":["keyboard","lighting","linux","roccat","suora","tool"],"latest_commit_sha":null,"homepage":"https://blog.flozz.fr/2021/11/08/roccat-suora-fx-desactiver-les-arc-en-ciel-et-autres-licorneries-sous-linux/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flozz.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"flozz","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["https://www.paypal.me/0xflozz","https://www.buymeacoffee.com/flozz"]}},"created_at":"2021-11-04T17:15:32.000Z","updated_at":"2024-10-28T12:44:57.000Z","dependencies_parsed_at":"2022-08-30T14:10:18.692Z","dependency_job_id":"3f39d758-36e9-46b7-b49e-2b8c97b1e482","html_url":"https://github.com/flozz/suorafxctl","commit_stats":{"total_commits":23,"total_committers":2,"mean_commits":11.5,"dds":"0.26086956521739135","last_synced_commit":"e0ca72fc8464171f09a2333ba0c8d9e62e020575"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flozz%2Fsuorafxctl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flozz%2Fsuorafxctl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flozz%2Fsuorafxctl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flozz%2Fsuorafxctl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flozz","download_url":"https://codeload.github.com/flozz/suorafxctl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245413527,"owners_count":20611350,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["keyboard","lighting","linux","roccat","suora","tool"],"created_at":"2024-10-07T04:02:25.925Z","updated_at":"2025-03-25T06:30:52.870Z","avatar_url":"https://github.com/flozz.png","language":"Python","funding_links":["https://github.com/sponsors/flozz","https://www.paypal.me/0xflozz","https://www.buymeacoffee.com/flozz"],"categories":[],"sub_categories":[],"readme":"Suorafxctl - Configure Roccat Suora FX keyboards on Linux\n=========================================================\n\n|Github| |Discord| |PYPI Version| |Github Actions| |Black| |License|\n\nSuorafxctl is a small CLI tool and Python library to configure Roccat Suora FX gaming keyboards on Linux. Only most simple settings, such as predefined lighting effects, brightness, effect speed and basic effect colors, are supported.\n\n\nUsage (CLI)\n-----------\n\n::\n\n    usage: suorafxctl [-h] [-e EFFECT] [-s 0-10] [-b 0-50] [-c COLOR] [-r]\n\n    optional arguments:\n      -h, --help            show this help message and exit\n      -e EFFECT, --effect EFFECT\n                            Illumination effect (full-lit, breathing, color-shift, wave-right,\n                            wave-left, wave-up, wave-down, fade-out, fade-in, ripple, rain,\n                            snake, spiral, game-over, scanner, radar)\n      -s 0-10, --speed 0-10\n                            Illumination effect speed, from 0 (fast) to 10 (slow)\n      -b 0-50, --brightness 0-50\n                            keyboard brightness, from 0 (light off) to 50\n      -c COLOR, --color COLOR\n                            Illumination color (red, green, yellow, blue, aqua, purple, white)\n      -r, --reset           reset all settings to their default\n\n    The first call to this command will reset all unspecified settings to their default value\n\n\nUsage (Python Library)\n----------------------\n\n.. code-block:: Python\n\n    from suorafxctl import SuoraFX\n\n    suorafx = SuoraFX()\n\n    # Get control of the USB device\n    suorafx.acquire()\n\n    # Set some configs\n    suorafx.effect = \"wave-right\"\n    suorafx.speed = 1\n    suorafx.brightness = 50\n    suorafx.color = \"red\"\n\n    # Send configs to the device\n    suorafx.commit()\n\n    # Return the control of the USB device to the Linux Kernel\n    suorafx.release()\n\n\nInstalling suorafxctl from sources\n----------------------------------\n\nYou will first need to install libusb1 and Git. On Ubuntu / Debian you can achieve this with the following command::\n\n    sudo apt install python3-libusb1 git\n\nThen clone this repository and go to the project's folder::\n\n    git clone https://github.com/flozz/suorafxctl.git\n    cd suorafxctl\n\nThen install the project::\n\n    sudo pip install .\n\nYou can now run the software as root::\n\n    sudo suorafxctl --help\n\n\nInstalling udev rules\n---------------------\n\nFor being able to run ``suorafxctl`` as a standard user, you must configure udev. To do so, just copy the ``99-roccat-suora-fx.rules`` file of this repository to ``/etc/udev/rules.d/``::\n\n    sudo cp ./99-roccat-suora-fx.rules /etc/udev/rules.d/\n\nThen update udev rules::\n\n    sudo udevadm trigger\n\nAnd finally unplug / replug the keyboard to the computer.\n\n\nChangelog\n---------\n\n* **[NEXT]** (changes on ``master``, but not released yet):\n\n  * Nothing yet ;)\n\n* **v1.0.2:**\n\n  * misc: Added Python 3.13 support (@flozz)\n  * misc!: Removed Python 3.8 support (@flozz)\n\n* **v1.0.1:**\n\n  * misc: Added Python 3.11 and 3.12 support\n  * misc!: Removed Python 3.7 support\n\n* **v1.0.0:** Initial release\n\n.. |Github| image:: https://img.shields.io/github/stars/flozz/suorafxctl?label=Github\u0026logo=github\n   :target: https://github.com/flozz/suorafxctl\n\n.. |Discord| image:: https://img.shields.io/badge/chat-Discord-8c9eff?logo=discord\u0026logoColor=ffffff\n   :target: https://discord.gg/P77sWhuSs4\n\n.. |PYPI Version| image:: https://img.shields.io/pypi/v/suorafxctl?logo=python\u0026logoColor=f1f1f1\n   :target: https://pypi.org/project/suorafxctl/\n\n.. |Github Actions| image:: https://github.com/flozz/suorafxctl/actions/workflows/python-ci.yml/badge.svg\n   :target: https://github.com/flozz/suorafxctl/actions\n\n.. |Black| image:: https://img.shields.io/badge/code%20style-black-000000.svg\n   :target: https://black.readthedocs.io/en/stable/\n\n.. |License| image:: https://img.shields.io/github/license/flozz/suorafxctl\n   :target: https://github.com/flozz/suorafxctl/blob/master/LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflozz%2Fsuorafxctl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflozz%2Fsuorafxctl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflozz%2Fsuorafxctl/lists"}