From 4e8af089a0be38c5af07fc5066632a93038e2bc4 Mon Sep 17 00:00:00 2001 From: Lerking Date: Mon, 5 May 2025 10:59:35 +0200 Subject: [PATCH] Update pygameControls/controller.py --- pygameControls/controller.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pygameControls/controller.py b/pygameControls/controller.py index 8530310..be018cb 100644 --- a/pygameControls/controller.py +++ b/pygameControls/controller.py @@ -9,6 +9,8 @@ from .logitech_f710_controller import LogitechF710Controller from .xbox_series_x_controller import XboxSeriesXController from .sony_playstation3_controller import SonyPlayStation3Controller from .playstation3_controller import PlayStation3Controller +from .sony_playstation4_controller import SonyPlayStation4Controller +from .playstation4_controller import PlayStation4Controller from .generic_controller import GenericController from .logitech_dual_action_controller import LogitechDualActionController @@ -23,7 +25,9 @@ CONTROLLERS = { "Logitech Dual Action": LogitechDualActionController, "Xbox Series X Controller": XboxSeriesXController, "Sony PLAYSTATION(R)3 Controller": SonyPlayStation3Controller, - "PLAYSTATION(R)3 Controller": PlayStation3Controller + "PLAYSTATION(R)3 Controller": PlayStation3Controller, + "Sony PLAYSTATION(R)4 Controller": SonyPlayStation4Controller, + "PLAYSTATION(R)4 Controller": PlayStation4Controller } class Controllers: