Bragi protocol over hidraw, device service with heartbeat and notifications, PySide6 UI with animated preview, profiles, tray, autostart, udev rule and installer. Co-Authored-By: Claude Opus 5.5 <[email protected]>
18 lines
648 B
Python
18 lines
648 B
Python
import argparse
|
|
import logging
|
|
|
|
|
|
def run() -> int:
|
|
parser = argparse.ArgumentParser(prog="k65studio", description="Corsair K65 PLUS Wireless für Linux")
|
|
parser.add_argument("--minimized", action="store_true", help="nur im Tray starten")
|
|
parser.add_argument("--debug", action="store_true", help="ausführliches Logging")
|
|
args = parser.parse_args()
|
|
logging.basicConfig(level=logging.DEBUG if args.debug else logging.INFO,
|
|
format="%(asctime)s %(levelname)s %(name)s: %(message)s")
|
|
from .app import main
|
|
return main(minimized=args.minimized)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
raise SystemExit(run())
|