Merge pull request '0.0.4' (#4) from 0.0.4 into main
Reviewed-on: https://gitpot-lerking.servehttp.com/CodingPirates/PyGame-Controller/pulls/4
This commit is contained in:
2
main.py
2
main.py
@@ -1,5 +1,5 @@
|
||||
import pygame
|
||||
import pygameController as PC
|
||||
import pygameControls as PC
|
||||
|
||||
if __name__ == "__main__":
|
||||
pygame.init()
|
||||
|
||||
@@ -9,7 +9,7 @@ from .xbox_series_x_controller import XboxSeriesXController
|
||||
from .generic_controller import GenericController
|
||||
from .logitech_dual_action_controller import LogitechDualActionController
|
||||
|
||||
__version__ = "0.0.3"
|
||||
__version__ = "0.0.4"
|
||||
|
||||
CONTROLLERS = {
|
||||
"DualSense Wireless Controller": DualSenseController,
|
||||
@@ -1,4 +1,4 @@
|
||||
from pygameController.controlsbase import ControlsBase
|
||||
from pygameControls.controlsbase import ControlsBase
|
||||
from pydualsense import *
|
||||
|
||||
BATTERY_STATE = {
|
||||
@@ -1,5 +1,5 @@
|
||||
import pygame
|
||||
from pygameController.controlsbase import ControlsBase
|
||||
from pygameControls.controlsbase import ControlsBase
|
||||
|
||||
class GenericController(ControlsBase):
|
||||
def __init__(self, joy):
|
||||
@@ -13,7 +13,7 @@ This controller is a usb controller, with the following features.
|
||||
"""
|
||||
|
||||
import pygame
|
||||
from pygameController.controlsbase import ControlsBase
|
||||
from pygameControls.controlsbase import ControlsBase
|
||||
from enum import Enum
|
||||
|
||||
class InputMode(Enum):
|
||||
@@ -13,7 +13,7 @@ This controller is a usb controller, with the following features.
|
||||
"""
|
||||
|
||||
import pygame
|
||||
from pygameController.controlsbase import ControlsBase
|
||||
from pygameControls.controlsbase import ControlsBase
|
||||
from enum import Enum
|
||||
|
||||
class InputMode(Enum):
|
||||
@@ -13,7 +13,7 @@ This controller is a usb controller, with the following features.
|
||||
"""
|
||||
|
||||
import pygame
|
||||
from pygameController.controlsbase import ControlsBase
|
||||
from pygameControls.controlsbase import ControlsBase
|
||||
from enum import Enum
|
||||
|
||||
class InputMode(Enum):
|
||||
@@ -13,7 +13,7 @@ This controller is a usb controller, with the following features.
|
||||
"""
|
||||
|
||||
import pygame
|
||||
from pygameController.controlsbase import ControlsBase
|
||||
from pygameControls.controlsbase import ControlsBase
|
||||
from enum import Enum
|
||||
|
||||
class InputMode(Enum):
|
||||
6
requirements.txt
Normal file
6
requirements.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
numpy==2.2.4
|
||||
pulsectl==24.12.0
|
||||
pydualsense==0.7.3
|
||||
pygame==2.6.1
|
||||
setuptools==68.2.2
|
||||
sounddevice==0.5.1
|
||||
Reference in New Issue
Block a user