Skip to content

Commit a1f0dbd

Browse files
authored
Merge pull request #3770 from cmitu/xboxdrv-update2
xboxdrv: remove obsolete USB options
2 parents c61d92e + ee346fb commit a1f0dbd

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

scriptmodules/supplementary/xboxdrv.sh

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ function gui_xboxdrv() {
132132
rp_callModule "$md_id"
133133
fi
134134
fi
135-
iniConfig "=" "" "/boot/config.txt"
136135

137136
local controllers="$(def_controllers_xboxdrv)"
138137
local deadzone="$(def_deadzone_xboxdrv)"
@@ -145,8 +144,6 @@ function gui_xboxdrv() {
145144
2 "Disable xboxdrv"
146145
3 "Set number of controllers to enable (currently $controllers)"
147146
4 "Set analog stick deadzone (currently $deadzone)"
148-
5 "Set dwc_otg.speed=1 in /boot/config.txt"
149-
6 "Remove dwc_otg.speed=1 from /boot/config.txt"
150147
)
151148
local choice=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
152149
if [[ -n "$choice" ]]; then
@@ -164,14 +161,6 @@ function gui_xboxdrv() {
164161
4)
165162
deadzone=$(deadzone_xboxdrv $deadzone)
166163
;;
167-
5)
168-
iniSet "dwc_otg.speed" "1"
169-
printMsgs "dialog" "dwc_otg.speed=1 has been set in /boot/config.txt"
170-
;;
171-
6)
172-
iniDel "dwc_otg.speed"
173-
printMsgs "dialog" "dwc_otg.speed=1 has been removed from /boot/config.txt"
174-
;;
175164
esac
176165
else
177166
break

0 commit comments

Comments
 (0)