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:
2025-04-19 20:40:17 +02:00
15 changed files with 16 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
import pygame
import pygameController as PC
import pygameControls as PC
if __name__ == "__main__":
pygame.init()

View File

@@ -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,

View File

@@ -1,4 +1,4 @@
from pygameController.controlsbase import ControlsBase
from pygameControls.controlsbase import ControlsBase
from pydualsense import *
BATTERY_STATE = {

View File

@@ -1,5 +1,5 @@
import pygame
from pygameController.controlsbase import ControlsBase
from pygameControls.controlsbase import ControlsBase
class GenericController(ControlsBase):
def __init__(self, joy):

View File

@@ -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):

View File

@@ -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):

View File

@@ -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):

View File

@@ -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
View 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

View File

@@ -2,8 +2,8 @@ if __name__ == "__main__":
from setuptools import setup, find_packages
setup(
name='pygameController',
version='0.0.3',
name='pygameControls',
version='0.0.4',
packages=find_packages(),
install_requires=[],
author='Jan Lerking',