Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Cooperative Cuisine Environment
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Social Cognitive Systems
CoCoSy
Cooperative Cuisine Environment
Merge requests
!87
Resolve "controller hotplugging"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "controller hotplugging"
118-controller-hotplugging
into
dev
Overview
0
Commits
2
Pipelines
3
Changes
1
Merged
Fabian Heinrich
requested to merge
118-controller-hotplugging
into
dev
1 year ago
Overview
0
Commits
2
Pipelines
3
Changes
1
Expand
Closes
#118 (closed)
0
0
Merge request reports
Viewing commit
36b05e98
Prev
Next
Show latest version
1 file
+
1
−
1
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
36b05e98
Fixed string in warning
· 36b05e98
fheinrich
authored
1 year ago
cooperative_cuisine/pygame_2d_vis/gui.py
+
1
−
1
Options
@@ -2038,7 +2038,7 @@ class PyGameGUI:
@@ -2038,7 +2038,7 @@ class PyGameGUI:
if
key_set
.
joystick
==
event
.
instance_id
:
if
key_set
.
joystick
==
event
.
instance_id
:
key_set
.
joystick
=
None
key_set
.
joystick
=
None
log
.
debug
(
f
"
Joystick
{
event
.
instance_id
}
disconnected
"
)
log
.
debug
(
f
"
Joystick
{
event
.
instance_id
}
disconnected
"
)
log
.
debug
(
"
Number of joysticks:
"
,
pygame
.
joystick
.
get_count
())
log
.
debug
(
f
"
Number of joysticks:
"
+
str
(
pygame
.
joystick
.
get_count
())
)
# Press enter key or controller start button instead of mouse button press
# Press enter key or controller start button instead of mouse button press
if
(
if
(
Loading