Skip to content
This repository was archived by the owner on Jan 23, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion generate-icons.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
# Used to generate some icons
# Requires inkscape and imagemagick pacages

Expand Down
2 changes: 1 addition & 1 deletion generate_svg.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
from scc.tools import _

from scc.actions import Action, DPadAction, XYAction, MouseAction
Expand Down
2 changes: 1 addition & 1 deletion scc/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller
Copyright (C) 2018 Kozec
Expand Down
2 changes: 1 addition & 1 deletion scc/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC Controller - Actions

Expand Down
2 changes: 1 addition & 1 deletion scc/aliases.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - Aliases

Expand Down
2 changes: 1 addition & 1 deletion scc/cemuhook_server.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - Daemon - CemuHookUDP motion provider

Expand Down
2 changes: 1 addition & 1 deletion scc/cheader.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

# The MIT License (MIT)
#
Expand Down
2 changes: 1 addition & 1 deletion scc/config.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - Config

Expand Down
2 changes: 1 addition & 1 deletion scc/constants.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

# The MIT License (MIT)
#
Expand Down
2 changes: 1 addition & 1 deletion scc/controller.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
from scc.constants import HapticPos
import time
import logging
Expand Down
2 changes: 1 addition & 1 deletion scc/custom.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - Custom module loader

Expand Down
2 changes: 1 addition & 1 deletion scc/device_monitor.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - Device Monitor

Expand Down
2 changes: 1 addition & 1 deletion scc/drivers/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller goes through all modules in scc.drivers package and calls
init(daemon) methods from every module that defines it.
Expand Down
2 changes: 1 addition & 1 deletion scc/drivers/ds4drv.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC Controller - Dualshock 4 Driver

Expand Down
2 changes: 1 addition & 1 deletion scc/drivers/ds5drv.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC Controller - DualSense driver

Expand Down
2 changes: 1 addition & 1 deletion scc/drivers/fake.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC Controller - Fake controller driver

Expand Down
2 changes: 1 addition & 1 deletion scc/drivers/remotepad.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC Controller - remotepad driver

Expand Down
2 changes: 1 addition & 1 deletion scc/drivers/sc_by_bt.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC Controller - Steam Controller Driver

Expand Down
2 changes: 1 addition & 1 deletion scc/drivers/sc_by_cable.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC Controller - Steam Controller Driver

Expand Down
2 changes: 1 addition & 1 deletion scc/drivers/steamdeck.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SCC - Steam Deck Driver

Expand Down
2 changes: 1 addition & 1 deletion scc/foreign/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env python2
#!/usr/bin/env python3

pass
2 changes: 1 addition & 1 deletion scc/foreign/vdf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
Imports VDF profile and converts it to Profile object.
"""
Expand Down
2 changes: 1 addition & 1 deletion scc/foreign/vdffz.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
Imports VDFFZ profile and converts it to Profile object.
VDFFZ is just VDF encapsulated in json, so this just gets one value and calls
Expand Down
2 changes: 1 addition & 1 deletion scc/gestures.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - Gestures

Expand Down
2 changes: 1 addition & 1 deletion scc/gui/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
from scc.constants import SCButtons

BUTTON_ORDER = (
Expand Down
2 changes: 1 addition & 1 deletion scc/gui/aboutdialog.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - About dialog
"""
Expand Down
2 changes: 1 addition & 1 deletion scc/gui/action_editor.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - Action Editor

Expand Down
2 changes: 1 addition & 1 deletion scc/gui/ae/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
""" ae - Action Editor components """
from __future__ import unicode_literals
from scc.tools import _
Expand Down
2 changes: 1 addition & 1 deletion scc/gui/ae/axis.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - Action Editor - Axis Component

Expand Down
2 changes: 1 addition & 1 deletion scc/gui/ae/axis_action.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - Action Editor - Axis Component

Expand Down
2 changes: 1 addition & 1 deletion scc/gui/ae/buttons.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - Action Editor - Button Component

Expand Down
2 changes: 1 addition & 1 deletion scc/gui/ae/custom.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - Action Editor - Custom action

Expand Down
2 changes: 1 addition & 1 deletion scc/gui/ae/dpad.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
SC-Controller - Action Editor - "DPAD or Menu"
Expand Down
2 changes: 1 addition & 1 deletion scc/gui/ae/first_page.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
SC-Controller - Action Editor - First Page
Expand Down
2 changes: 1 addition & 1 deletion scc/gui/ae/gesture.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
# coding=utf-8
"""
SC-Controller - Action Editor - Gesture Component
Expand Down
2 changes: 1 addition & 1 deletion scc/gui/ae/gyro.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - Action Editor - Gyro -> Per Axis component
"""
Expand Down
2 changes: 1 addition & 1 deletion scc/gui/ae/gyro_action.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - Action Editor - Gyro -> Joystick or Mouse component
"""
Expand Down
2 changes: 1 addition & 1 deletion scc/gui/ae/menu_action.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - Action Editor - common part of "DPAD or menu" and "Special Action",
two components with MenuAction selectable.
Expand Down
2 changes: 1 addition & 1 deletion scc/gui/ae/menu_only.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - Action Editor - Menu Only Component

Expand Down
2 changes: 1 addition & 1 deletion scc/gui/ae/osk_action.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - Action Editor - On Screen Keyboard Action Component

Expand Down
2 changes: 1 addition & 1 deletion scc/gui/ae/osk_buttons.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - Action Editor - OSK Button Component

Expand Down
2 changes: 1 addition & 1 deletion scc/gui/ae/per_axis.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - Action Editor - Per-Axis Component

Expand Down
2 changes: 1 addition & 1 deletion scc/gui/ae/recent_list.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - Action Editor - Recent List Component

Expand Down
2 changes: 1 addition & 1 deletion scc/gui/ae/special_action.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - Action Editor - Axis Component

Expand Down
2 changes: 1 addition & 1 deletion scc/gui/ae/tilt.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - Action Editor - Tilt

Expand Down
2 changes: 1 addition & 1 deletion scc/gui/ae/trigger.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - Action Editor - Trigger-as-button Component

Expand Down
2 changes: 1 addition & 1 deletion scc/gui/app.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - App

Expand Down
2 changes: 1 addition & 1 deletion scc/gui/area_to_action.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - AREA_TO_ACTION

Expand Down
2 changes: 1 addition & 1 deletion scc/gui/binding_editor.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - BindingEditor

Expand Down
2 changes: 1 addition & 1 deletion scc/gui/chooser.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - Action Editor

Expand Down
2 changes: 1 addition & 1 deletion scc/gui/controller_image.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - Controller Image

Expand Down
2 changes: 1 addition & 1 deletion scc/gui/controller_settings.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - Global Settings

Expand Down
2 changes: 1 addition & 1 deletion scc/gui/controller_widget.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - Controller Widget

Expand Down
2 changes: 1 addition & 1 deletion scc/gui/creg/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
2 changes: 1 addition & 1 deletion scc/gui/creg/constants.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - Controller Registration Constants

Expand Down
2 changes: 1 addition & 1 deletion scc/gui/creg/data.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - Controller Registration data

Expand Down
2 changes: 1 addition & 1 deletion scc/gui/creg/dialog.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - Controller Registration

Expand Down
2 changes: 1 addition & 1 deletion scc/gui/creg/grabs.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - Controller Registration - Grabs

Expand Down
2 changes: 1 addition & 1 deletion scc/gui/creg/tester.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - Controller Registration - Tester

Expand Down
2 changes: 1 addition & 1 deletion scc/gui/daemon_manager.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - DaemonManager

Expand Down
2 changes: 1 addition & 1 deletion scc/gui/editor.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - Action Editor

Expand Down
2 changes: 1 addition & 1 deletion scc/gui/gdk_to_key.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - GDK_TO_KEY

Expand Down
2 changes: 1 addition & 1 deletion scc/gui/gestures.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - Gesture-related GUI stuff.
"""
Expand Down
2 changes: 1 addition & 1 deletion scc/gui/global_settings.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - Global Settings

Expand Down
2 changes: 1 addition & 1 deletion scc/gui/icon_chooser.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - Icon Chooser
"""
Expand Down
2 changes: 1 addition & 1 deletion scc/gui/importexport/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
2 changes: 1 addition & 1 deletion scc/gui/importexport/dialog.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
"""
SC-Controller - Import / Export Dialog
"""
Expand Down
Loading