Binding L3/R3 on Joystick (+ L3 can call Speed Mode)#1358
Draft
DV666 wants to merge 9 commits into
Draft
Conversation
Contributor
|
Will this allow rebinding the dual language someone recently mentioned in
the future? I saw the file, but that seemed to be locked to CapsLock
specifically. Just wondering.
…On Wed, Feb 11, 2026 at 3:42 PM DV666 ***@***.***> wrote:
Small PR to allow binding L3 and R3 buttons, regardless of the controller
used (hopefully?).
By default, these buttons remain unbound because the KeyCode varies
significantly depending on the connected controller/driver. Therefore, I
added an option in the game menu allowing players to manually bind these
buttons.
https://github.com/user-attachments/assets/78dbbc3e-2e75-48c9-8562-2cce0f67e58b
L3 and R3 can now be accessed via:
HonoInputManager.Instance.IsL3Pressed()
HonoInputManager.Instance.IsR3Pressed()
If needed, L3/R3 can be unbound in the same menu by pressing Escape.
Why this feature? It allows mapping Speed Mode (F1 on Keyboard) to the L3
button on the controller, which is a massive Quality of Life improvement in
my opinion.
Maybe we should add an option in Memoria.ini to toggle this default L3
binding for Speed Mode?
------------------------------
You can view, comment on, or merge this pull request online at:
#1358
Commit Summary
- d1b2381
<d1b2381>
Binding L3 + R3
- 94760bd
<94760bd>
KeyCodeLeftStick and KeyCodeRightStick disable by default ?
File Changes
(9 files <https://github.com/Albeoris/Memoria/pull/1358/files>)
- *M* Assembly-CSharp/Global/Booster/BoosterSlider.cs
<https://github.com/Albeoris/Memoria/pull/1358/files#diff-264c1488fe3aa0e935a2cd4aabfeeb6cb5bc3ef07bfd9f906e25dc3f3de7c6b2>
(2)
- *M* Assembly-CSharp/Global/Config/ConfigUI.cs
<https://github.com/Albeoris/Memoria/pull/1358/files#diff-6f682ceb1d968be8e635c387ed991870c56569bbf8ea73cf7b505fc4c75e0e82>
(170)
- *M* Assembly-CSharp/Global/Control.cs
<https://github.com/Albeoris/Memoria/pull/1358/files#diff-7c5b4a148621a255d0e9fd069a32def681f0b78158fb99f251bc7134ff32fb26>
(2)
- *M* Assembly-CSharp/Global/Hono/HonoInputManager.cs
<https://github.com/Albeoris/Memoria/pull/1358/files#diff-7d2e3b4c55003e3461c31991af588c29971260e1c63576c4bad4afa03a076c8a>
(53)
- *M* Assembly-CSharp/Global/Sound/SoundPlayer.cs
<https://github.com/Albeoris/Memoria/pull/1358/files#diff-345413e643b243f7e2a5bfb104646721f02c4c16222d90464a21f3c42fcb3c45>
(2)
- *M* Assembly-CSharp/Global/UI/UIKey/UIKeyTrigger.cs
<https://github.com/Albeoris/Memoria/pull/1358/files#diff-44db3221514b90c781620752cad83428581ffeca9f544614db682449da48a797>
(8)
- *M* Assembly-CSharp/Memoria/Configuration/Access/Control.cs
<https://github.com/Albeoris/Memoria/pull/1358/files#diff-0936e32322fda94d5ed8ea085b77f9574d07693ee544ff6c7b58484a1db51319>
(13)
- *M* Assembly-CSharp/Memoria/Configuration/Structure/ControlSection.cs
<https://github.com/Albeoris/Memoria/pull/1358/files#diff-639e45433cadf5e9e0a3129152d8838aef57eaadf9b53d20130b2d862b6f22d2>
(5)
- *M* Memoria.Patcher/StreamingAssets/Data/Text/LocalizationPatch.txt
<https://github.com/Albeoris/Memoria/pull/1358/files#diff-103478a25b70f1e0f0329ed9ede6cbc945c01b71a53c578cd270a2fd2afa2c93>
(4)
Patch Links:
- https://github.com/Albeoris/Memoria/pull/1358.patch
- https://github.com/Albeoris/Memoria/pull/1358.diff
—
Reply to this email directly, view it on GitHub
<#1358>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVQGRMTN635UEHJMADFAYZT4LOH4JAVCNFSM6AAAAACUZU5STOVHI2DSMVQWIX3LMV43ASLTON2WKOZTHEZDQNRRGM4DINI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Collaborator
Author
It has nothing to do with this current PR, but it's something we can do, yes. Maybe in #1255 |
Contributor
|
Got it, thanks, was just asking from a recent inquiry someone made in
Tsunamods.
…On Wed, Feb 11, 2026 at 3:48 PM DV666 ***@***.***> wrote:
*DV666* left a comment (Albeoris/Memoria#1358)
<#1358 (comment)>
Will this allow rebinding the dual language someone recently mentioned in
the future? I saw the file, but that seemed to be locked to CapsLock
specifically. Just wondering.
It has nothing to do with this current PR, but it's something we can do,
yes. Maybe in #1255 <#1255>
—
Reply to this email directly, view it on GitHub
<#1358 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVQGRMWPDG4CFD6Z4AD5UOL4LOITTAVCNFSM6AAAAACUZU5STOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTQOBXGEYTCNRVGQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Small PR to allow binding L3 and R3 buttons, regardless of the controller used (hopefully?).
By default, these buttons remain unbound because the
KeyCodevaries significantly depending on the connected controller/driver.Therefore, I added an option in the game menu allowing players to manually bind these buttons.
This new option in the Configuration Menu only appear if a joystick is activated.
2026-02-11.21-34-05.mp4
L3 and R3 can now be accessed via:
HonoInputManager.Instance.IsL3Pressed()HonoInputManager.Instance.IsR3Pressed()If needed, L3/R3 can be unbound in the same menu by pressing
Escape.Why this feature? It allows mapping Speed Mode (F1 on Keyboard) to the L3 button on the controller, which is a massive Quality of Life improvement in my opinion.
Maybe we should add an option in Memoria.ini to toggle this default L3 binding for Speed Mode?