Skip to content

Add keyboard support for debug fly toggle (Up Arrow)#1308

Open
Alezito2008 wants to merge 1 commit intosmartcmd:mainfrom
Alezito2008:feat/kbm-debug-fly
Open

Add keyboard support for debug fly toggle (Up Arrow)#1308
Alezito2008 wants to merge 1 commit intosmartcmd:mainfrom
Alezito2008:feat/kbm-debug-fly

Conversation

@Alezito2008
Copy link
Contributor

Description

Added keyboard support for the debug fly toggle

Changes

Previous Behavior

The debug fly mode was only accessible via gamepad input (DPAD_UP). There was no equivalent key binding for players using a keyboard and mouse.

Root Cause

Missing input mapping for the debug fly action using keyboard

New Behavior

The up arrow key now toggles the debug fly mode, matching the behavior of the DPad on controllers. This only functions when debug settings are enabled

Fix Implementation

  • Defined KEY_FLY_TOGGLE as VK_UP in KeyboardMouseInput.h
  • Integrated the key check in Minecraft.cpp
  • Wrapped the input detection with app.DebugSettingsOn() and app.GetUseDPadForDebug() to ensure the shortcut only triggers when debug features are enabled

AI Use Disclosure

No

Related Issues

@Alezito2008
Copy link
Contributor Author

Minecraft.2026-03-16.22-10-40.2.mp4

@antgame11
Copy link

this would be nice to have

m0zzaR added a commit to m0zzaR/MinecraftConsoles that referenced this pull request Mar 18, 2026
…smartcmd#1308)

- Enhanced the HerobrineCompanion project by adding item request handling functionality.
- Updated Minecraft.cpp to process incoming item requests from the companion application when the 'G' key is pressed.
- Improved error handling and response mechanisms for item requests to ensure a smoother user experience.
@rubiidev18alt
Copy link

Minecraft.2026-03-16.22-10-40.2.mp4
Ok this is getting ridiculous

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Suggestion] map the fly (dpad up?) button to arrow key up

3 participants