This website works better with JavaScript.
Home
Explore
帮助
返回水杉在线
登录水杉在线
登录水杉码园
10235501447
/
WaveControl
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
add hints
game_control
Backpack
2 months ago
parent
570a014820
commit
33de992f66
8 changed files
with
9 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
BIN
source/adsadad.png
BIN
source/bark.png
BIN
source/left.png
BIN
source/right.png
BIN
source/speedup.png
BIN
source/start.png
BIN
source/unknow.jpg
+9
-0
test_xbox.py
BIN
source/adsadad.png
View File
Before
After
Width:
800
| Height:
600
| Size:
1.3 KiB
BIN
source/bark.png
View File
Before
After
Width:
800
| Height:
600
| Size:
1.1 KiB
BIN
source/left.png
View File
Before
After
Width:
800
| Height:
600
| Size:
1.2 KiB
BIN
source/right.png
View File
Before
After
Width:
800
| Height:
600
| Size:
1.4 KiB
BIN
source/speedup.png
View File
Before
After
Width:
800
| Height:
600
| Size:
3.5 KiB
BIN
source/start.png
View File
Before
After
Width:
800
| Height:
600
| Size:
2.1 KiB
BIN
source/unknow.jpg
View File
Before
After
Width:
248
| Height:
234
| Size:
20 KiB
+ 9
- 0
test_xbox.py
View File
@ -0,0 +1,9 @@
import
vgamepad
as
vg
try
:
gamepad
=
vg
.
VX360Gamepad
(
)
gamepad
.
press_button
(
button
=
vg
.
XUSB_BUTTON
.
XUSB_GAMEPAD_A
)
gamepad
.
update
(
)
print
(
"
✅ 虚拟手柄创建成功
"
)
except
Exception
as
e
:
print
(
"
❌ 错误:
"
,
e
)
Write
Preview
Loading…
Cancel
Save