RimWorld

RimWorld

Not enough ratings
ChordedKeybinds
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.4, 1.5, 1.6
File Size
Posted
Updated
1.669 MB
Feb 4 @ 9:42pm
Jun 19 @ 10:00am
5 Change Notes ( view )

Subscribe to download
ChordedKeybinds

In 1 collection by remi
Mods by Remi
3 items
Description
Chorded Keybinds
Chorded Keybinds adds support for key chords (e.g., Ctrl+Z, Shift+Alt+Q) natively in the Keyboard Configuration menu and makes them work in-game. No new menus, no special conditions, just how it should be in Vanilla Rimworld... Hold your modifiers, press a key to bind, and the UI will show labels like Ctrl+Z or LCtrl+Z.

Features
  • Chorded bindings in the UI: set Ctrl/Shift/Alt/Command + key directly in Keyboard Configuration.
  • Left/right modifiers: bind LCtrl vs RCtrl (or use "any" modifier) with clear labels.
  • Chord-aware conflicts: the same base key can coexist with different modifier combos.
  • A/B slot support: chords are saved per binding slot.
  • Modifier-only bindings: press and release a modifier to bind it alone.
  • In-game evaluation: JustPressed/IsDown checks respect your chords.

Settings
No settings. Configure bindings in Rimworld's Vanilla Options -> Keyboard Configuration.

Performance
Lightweight; no background ticking. Only extends keybinding UI and input evaluation.

Requirements
  • Harmony

Supported Languages
All

Supported Versions
1.4, 1.5, 1.6

Mods by Remi Workshop Collection
7 Comments
remi  [author]
Jun 19 @ 10:01am 
@晓山alreShan Thank you for the info! It should be fixed now!
Jun 18 @ 7:01pm 
@remi
I found it currently on a certain case, a keybind will be reset.

for example:
[Game speed: Normal] its default key is 1.Then bind it to whatever or clear it, just not be 1 or say "its default key".
Then bind [Game speed: Fast] to 1 and [Game speed: Super fast] to "any modiier + 1".
After game reboot, [Game speed: fast] is reset to default.
remi  [author]
Jun 12 @ 8:22pm 
@晓山alreShan Fixed.
Jun 12 @ 5:09pm 
Sadly this can't bind functions using same base keys which one with modifier while one not. :steamsad:
remi  [author]
Apr 26 @ 10:17am 
Resolved chords once per getter call instead of re-looking them up multiple times across MainKeyLabel, JustPressed, IsDown, KeyDownEvent, and IsDownEvent.
Added a runtime index for global chord entries keyed by KeyBindingDef, avoiding repeated string-key/list scans on the hot path.
Cached modifier key state once per frame so repeated checks for Ctrl/Shift/Alt/Cmd don’t call Input.GetKey over and over within the same frame.

TL:DR - Micro optimization and small clean-up. No behavioral changes, if any issues are observed / different please contact me.
Feb 5 @ 5:36pm 
Sweeeet
Feb 4 @ 10:44pm 
Very nice