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: