Announcement

Collapse
No announcement yet.

Shortcuts Behaviour in Text Input Fields

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Shortcuts Behaviour in Text Input Fields

    Good day,

    1.
    When using the Shortcuts feature to remap keys, is it possible to prevent character input when the cursor is active in a text input field (i.e., when the I-beam cursor is active)?

    For example, in reWASD, I have mapped [Shift+C] to [Ctrl+Shift+H] (the shortcut for changing text color in Notion).
    When selecting text in Notion to highlight it and pressing [Shift+C], ideally the keys should be remapped to [Ctrl+Shift+H] and the text color should change.
    However, instead, all the text gets deleted and the character "h" is typed.
    Is this expected behavior or is there some additional setting I need to configure?

    This issue also occurs when using a Shift Mode key.
    When using remapped shortcuts in 3D applications and needing to type in a text input field, I use a preassigned [Ctrl+'] Shift Mode key to temporarily disable key mapping.
    However, pressing this key in a text input field inserts the "`" character while switching to the Shift layer.
    This requires me to assign a non-character key like [F9] to prevent accidental character input before typing which is inconvenient.

    2.
    I understand that detecting an active I-beam cursor in a text input field to pause remapping in real time is difficult to implement.
    Before using reWASD, I used AutoHotkey to create a key mapping script that would output the original key when the I-beam was active.
    This worked in most programs but failed in some, such as Illustrator or Photoshop.
    I assumed this was due to differences in how each software handles input and left it at that.

    I’m also curious if it might be possible in the future to automatically pause key mapping when in a text input field allowing normal typing without interference in reWASD.
    For example, in a text input field, when a single key is typed, the original key should be output so that normal typing works but when Shortcuts (a character key combined with Ctrl, Shift, Alt, etc.) is pressed, the mapped key should be sent without producing any character input.​

    Thank you for your time!

  • #2
    Hey there!

    1. Most likely, this issue is related to the app where you are trying to use reWASD, since there is no such problem when using shortcuts and mappings in a regular text editor.

    2. I doubt that this functionality will be implemented in reWASD in the near future.
    You can stop a combo only with a shortcut on the controller — there is no such option on the keyboard (the only way is to disable the config using the CTRL+ALT+DEL shortcut).

    Please also make sure that you are using Mute with your mappings to avoid double input.

    Comment

    Working...
    X