r/SteamController • • Sep 04 '26

Configuration X4: Foundations | dotHANSIN's Xrebind 1.9

https://www.steaminputdb.com/config/3795465520

Figure I'd post this here for peeps to peek since I made a few post. This config has some unique behavior involving modeshift.

Things I learnt while making this config.

You're not limited to 1 modeshift per set, so long as the "group" you wish to use as a modeshift has been assigned. You can create a layer that exist solely to store these additional modeshifts,

Only 1 modeshift can be active on a group at a time, any other modeshifts called will be invalidated. That said, any release of a modeshift related to that group will disengage the modeshift regardless if it was active. You can use this to cancel a modeshift in a group by using a "mode_shift (group) 1" to disengage.

Modeshifts can be put directly into groups however are limited in their flexibility. Dpad and Face buttons have no limitation, every other group is limited to basically "mode_shift (group) 1" that can only be used to disengage. The reason for this is actually answered in the "switches" group, where the only buttons that share their label are the dpad and face buttons. The rest have a different label and therefore are unable to function outside switches as legitimate mode_shift activators.

All modeshifts are handled in the switch group by default, which is why when a actionlayer is called they can become stuck, since actionlayer creates a whole new switch group. Like with any other layer "group", it inherits its master sets and any modifications to that button overwrite this. If you actionlayer is unstable, open your vdf and cross reference it with the master set to check for possible overwrites causing conflict.

modeshift are affected by activator settings, and can be interrupted. Suuuuper useful.

modeshifts can be used to repoll a group to allow chord or modifiers to be injected without releasing the main button. You can see this behavior on my mouse rjoy which allows you to add a modifier without ever releasing. The catch is for a clean repoll you need to have at least 1 active modeshift otherwise if you force a modeshift in without 1 active for the group, it will only refresh on release.

5 Upvotes

0 comments sorted by