From 13901aeb5022001afa36d7b42feafaf2657f9bb3 Mon Sep 17 00:00:00 2001 From: Jan Lerking Date: Wed, 7 May 2025 21:44:07 +0200 Subject: [PATCH] Removed debuging prints. /JL --- README.md | 2 +- pygameControls/controller.py | 5 +---- setup.py | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 6843039..9f66feb 100644 --- a/README.md +++ b/README.md @@ -3,4 +3,4 @@ Small module to make it easy to add controller support. ![Tests](https://gitpot-lerking.servehttp.com/api/v1/badges/CodingPirates/PyGame-Controller/workflows/test.yml) -![Version](https://img.shields.io/badge/version-0.2.4-blue) \ No newline at end of file +![Version](https://img.shields.io/badge/version-0.2.5-blue) \ No newline at end of file diff --git a/pygameControls/controller.py b/pygameControls/controller.py index c867ea7..5a890ef 100644 --- a/pygameControls/controller.py +++ b/pygameControls/controller.py @@ -1,21 +1,18 @@ import pygame from . import globals -__version__ = "0.2.4" +__version__ = "0.2.5" class Controllers: def __init__(self, joy): globals.init() self.controllers = [] cont = self.detect_controller(joy.get_guid()) - print(cont) self.controllers.append(cont(joy)) def detect_controller(self, guid): for gp in globals.GAMEPADS: - print(gp) for p in globals.GAMEPADS[gp]: - print(p) if p["guid"] != guid: continue return p["class"] diff --git a/setup.py b/setup.py index 2b5af56..295c18f 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ if __name__ == "__main__": setup( name='pygameControls', - version='0.2.4', + version='0.2.5', packages=find_packages(), install_requires=[], author='Jan Lerking',