23

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 11 months 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.

[-] anlumo@feddit.de 1 points 11 months ago

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

[-] ihopethisisnotawful@lemmy.ml 1 points 11 months ago

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

[-] anlumo@feddit.de 5 points 11 months ago

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

[-] MachineFab812@discuss.tchncs.de 1 points 11 months ago

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.

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

Godot

5873 readers
12 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 1 year ago
MODERATORS