this post was submitted on 02 Dec 2023
23 points (100.0% liked)

Godot

6010 readers
35 users here now

Welcome to the programming.dev Godot community!

This is a place where you can discuss about anything relating to the Godot game engine. Feel free to ask questions, post tutorials, show off your godot game, etc.

Make sure to follow the Godot CoC while chatting

We have a matrix room that can be used for chatting with other members of the community here

Links

Other Communities

Rules

We have a four strike system in this community where you get warned the first time you break a rule, then given a week ban, then given a year ban, then a permanent ban. Certain actions may bypass this and go straight to permanent ban if severe enough and done with malicious intent

Wormhole

!roguelikedev@programming.dev

Credits

founded 2 years ago
MODERATORS
 

I'm making a game in Godot 4 and I have something bound to the B key, problem is that if I press the B key while holding ctrl (sprint in my game) it launches a system shortcut bounded to ctrl + b. How can I stop the game inputs from activating a system shortcut?

top 5 comments
sorted by: hot top controversial new old
[–] magikmw@lemm.ee 2 points 1 year ago

First thing is to check if system/desktop manager even would go of this shortcut.

If the answer is yes, then maybe something can be done.

Following, as this is something Windows does(except for CTRL-ALT-DEL, ALT-TAB, and ALt-F4, iirc) that I never really figured out how it should work right in Linux. I really need to stop using my phone for everything.

[–] anlumo@feddit.de 1 points 1 year ago (1 children)

Why do you have a system-wide shortcut on something as basic as ctrl-b in the first place?

[–] ihopethisisnotawful@lemmy.ml 1 points 1 year ago (1 children)

Because Ctrl-b is unbound on mostly everything I use except for the system shortcut and in-game keybind

[–] anlumo@feddit.de 5 points 1 year ago

Most styled text editors bind this to bold/unbold text.