PS4/PS5 Controller → F13–F24 Virtual Keys

Map PS4/PS5 controller to F13–F24 keys. Left stick & D-pad control same movement keys for Bonk.io, etc.

作者
pro9905
今日安裝
0
安裝總數
0
評價
0 0 0
版本
0.1
建立日期
2025-06-28
更新日期
2025-07-01
尺寸
2.6 KB
授權條款
All Rights Reserved © 2025 [pro9905/mythicturbo]
腳本執行於

PS4/PS5 Controller → F13–F24 Virtual Key Mapper

This userscript maps your PS4 or PS5 controller inputs to virtual, invisible keyboard keys (F13–F24) for safe, conflict-free gameplay in Bonk.io and similar browser games.

Why Use Virtual Keys?

  • Keys like F13–F24 don't exist on physical keyboards.
  • You can’t press them accidentally.
  • They don’t interfere with your browser or game.
  • You can bind them in-game just like normal keys.

🎮 Controller Input → Virtual Key Mapping

Controller Input Virtual Key
Left Stick Up / D-Pad Up F13
Left Stick Down / D-Pad Down F14
Left Stick Left / D-Pad Left F15
Left Stick Right / D-Pad Right F16
❌ X Button F17
🟥 Square Button F18
🟠 Circle Button F19
🔺 Triangle Button F20
L1 Shoulder F21
L2 Trigger F22
R1 Shoulder F23
R2 Trigger F24

🔧 How to Use

  1. Install this script with Tampermonkey.
  2. Launch Bonk.io and go to Settings → Controls.
  3. Bind your movement and actions to F13–F24 as listed above.
  4. Use your controller — it’ll trigger those keys invisibly!

✅ Features

  • Works with both PS4 and PS5 controllers.
  • Supports both Left Stick and D-Pad for movement.
  • Prevents interference with your real keyboard.
  • Works in any browser that supports the Gamepad API (Chrome, Edge, Firefox, etc).

❓ Notes

  • Make sure the game you're playing supports binding to function keys (most do).
  • PS3 controllers may require an adapter or remapper and are not officially supported.
  • Shift or Ctrl keys are not used here to prevent accidental browser triggers.

Enjoy frictionless controller gameplay in Bonk.io and Hitbox.io! 🎮🔥