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