Browse Source

add hints

game_control
Backpack 2 months ago
parent
commit
33de992f66
8 changed files with 9 additions and 0 deletions
  1. BIN
      source/adsadad.png
  2. BIN
      source/bark.png
  3. BIN
      source/left.png
  4. BIN
      source/right.png
  5. BIN
      source/speedup.png
  6. BIN
      source/start.png
  7. BIN
      source/unknow.jpg
  8. +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)

Loading…
Cancel
Save