Cleanup code. /JL
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import pygame
|
import pygame
|
||||||
from . import globals
|
from . import globals
|
||||||
|
|
||||||
__version__ = "0.2.0"
|
__version__ = "0.2.1"
|
||||||
|
|
||||||
class Controllers:
|
class Controllers:
|
||||||
def __init__(self, joy):
|
def __init__(self, joy):
|
||||||
|
@@ -1,5 +1,4 @@
|
|||||||
from pygameControls.controlsbase import ControlsBase
|
from pygameControls.controlsbase import ControlsBase
|
||||||
from .enums import ConnectionType
|
|
||||||
from pydualsense import *
|
from pydualsense import *
|
||||||
|
|
||||||
BATTERY_STATE = {
|
BATTERY_STATE = {
|
||||||
|
@@ -1,5 +1,4 @@
|
|||||||
from pygameControls.controlsbase import ControlsBase
|
from pygameControls.controlsbase import ControlsBase
|
||||||
from enums import ConnectionType
|
|
||||||
from pydualsense import *
|
from pydualsense import *
|
||||||
|
|
||||||
|
|
||||||
|
@@ -1,6 +1,5 @@
|
|||||||
import pygame
|
import pygame
|
||||||
from pygameControls.controlsbase import ControlsBase
|
from pygameControls.controlsbase import ControlsBase
|
||||||
from enums import ConnectionType
|
|
||||||
|
|
||||||
class GenericController(ControlsBase):
|
class GenericController(ControlsBase):
|
||||||
def __init__(self, joy):
|
def __init__(self, joy):
|
||||||
|
@@ -14,7 +14,6 @@ This controller is a usb controller, with the following features.
|
|||||||
|
|
||||||
import pygame
|
import pygame
|
||||||
from pygameControls.controlsbase import ControlsBase
|
from pygameControls.controlsbase import ControlsBase
|
||||||
from enums import ConnectionType
|
|
||||||
|
|
||||||
class LogitechDualActionController(ControlsBase):
|
class LogitechDualActionController(ControlsBase):
|
||||||
def __init__(self, joy):
|
def __init__(self, joy):
|
||||||
|
@@ -14,7 +14,6 @@ This controller is a usb controller, with the following features.
|
|||||||
|
|
||||||
import pygame
|
import pygame
|
||||||
from pygameControls.controlsbase import ControlsBase
|
from pygameControls.controlsbase import ControlsBase
|
||||||
from enums import ConnectionType
|
|
||||||
|
|
||||||
class LogitechF310Controller(ControlsBase):
|
class LogitechF310Controller(ControlsBase):
|
||||||
def __init__(self, joy):
|
def __init__(self, joy):
|
||||||
|
@@ -7,7 +7,6 @@ Subsequent updates will be done, based on updates for the F310.
|
|||||||
|
|
||||||
import pygame
|
import pygame
|
||||||
from pygameControls.controlsbase import ControlsBase
|
from pygameControls.controlsbase import ControlsBase
|
||||||
from enums import ConnectionType
|
|
||||||
|
|
||||||
class LogitechF510Controller(ControlsBase):
|
class LogitechF510Controller(ControlsBase):
|
||||||
def __init__(self, joy):
|
def __init__(self, joy):
|
||||||
|
@@ -5,7 +5,6 @@ This controller is a usb/wireless controller.
|
|||||||
|
|
||||||
import pygame
|
import pygame
|
||||||
from pygameControls.controlsbase import ControlsBase
|
from pygameControls.controlsbase import ControlsBase
|
||||||
from enums import ConnectionType
|
|
||||||
|
|
||||||
class LogitechF710Controller(ControlsBase):
|
class LogitechF710Controller(ControlsBase):
|
||||||
def __init__(self, joy):
|
def __init__(self, joy):
|
||||||
|
@@ -1,5 +1,4 @@
|
|||||||
from pygameControls.controlsbase import ControlsBase
|
from pygameControls.controlsbase import ControlsBase
|
||||||
from enums import ConnectionType
|
|
||||||
import pygame
|
import pygame
|
||||||
|
|
||||||
class PlayStation3Controller(ControlsBase):
|
class PlayStation3Controller(ControlsBase):
|
||||||
|
@@ -1,5 +1,4 @@
|
|||||||
from pygameControls.controlsbase import ControlsBase
|
from pygameControls.controlsbase import ControlsBase
|
||||||
from enums import ConnectionType
|
|
||||||
import pygame
|
import pygame
|
||||||
|
|
||||||
class PlayStation4Controller(ControlsBase):
|
class PlayStation4Controller(ControlsBase):
|
||||||
|
@@ -1,5 +1,4 @@
|
|||||||
from pygameControls.controlsbase import ControlsBase
|
from pygameControls.controlsbase import ControlsBase
|
||||||
from enums import ConnectionType
|
|
||||||
import pygame
|
import pygame
|
||||||
|
|
||||||
class SonyPlayStation3Controller(ControlsBase):
|
class SonyPlayStation3Controller(ControlsBase):
|
||||||
|
@@ -1,5 +1,4 @@
|
|||||||
from pygameControls.controlsbase import ControlsBase
|
from pygameControls.controlsbase import ControlsBase
|
||||||
from enums import ConnectionType
|
|
||||||
import pygame
|
import pygame
|
||||||
|
|
||||||
class SonyPlayStation4Controller(ControlsBase):
|
class SonyPlayStation4Controller(ControlsBase):
|
||||||
|
@@ -1,5 +1,4 @@
|
|||||||
from pygameControls.controlsbase import ControlsBase
|
from pygameControls.controlsbase import ControlsBase
|
||||||
from enums import ConnectionType, InputType
|
|
||||||
import pygame
|
import pygame
|
||||||
|
|
||||||
class Xbox360Controller(ControlsBase):
|
class Xbox360Controller(ControlsBase):
|
||||||
|
@@ -1,5 +1,4 @@
|
|||||||
from pygameControls.controlsbase import ControlsBase
|
from pygameControls.controlsbase import ControlsBase
|
||||||
from enums import ConnectionType
|
|
||||||
import pygame
|
import pygame
|
||||||
|
|
||||||
class XboxSeriesXController(ControlsBase):
|
class XboxSeriesXController(ControlsBase):
|
||||||
|
Reference in New Issue
Block a user