Skip to content

Remove text_input signal - #79

Closed
Ocawesome101 wants to merge 1 commit into
PC-Logix:main-MC1.21.1from
Ocawesome101:no-text-input
Closed

Remove text_input signal#79
Ocawesome101 wants to merge 1 commit into
PC-Logix:main-MC1.21.1from
Ocawesome101:no-text-input

Conversation

@Ocawesome101

Copy link
Copy Markdown

Is there a good reason for text_input to exist? It's new enough that few if any programs use it and it doesn't really resemble other OpenComputers versions. It's also not that useful - even for a simple text input function, you'd still have to query key_down signals for things like Return or Backspace or arrow keys.

@RobertCochran

Copy link
Copy Markdown
Collaborator

So there is a reason for this, and piecing it together from previous conversations that happened is that the text_input signal is meant to be more compatible with different IMEs (ie non-English-locale keyboards and such) than key_down/key_up are. This is because text_input works at the character level and key_{up,down} work at the keyboard scancode layer. The timing of getting the feature worked out meant that it didn't ever really get a chance to get widely deployed until now, so this is effectively the first time it has made it out to the wild, so naturally there isn't a wide base of software that supports it yet.

There's no harm in leaving it at this point, and hopefully it will accomplish its intended purpose at some point down the line.

@Ocawesome101
Ocawesome101 deleted the no-text-input branch August 24, 2026 12:17
@Ocawesome101

Copy link
Copy Markdown
Author

Good to know. Thanks for the extra context both here and in #oc, I see the point of it now ...and I suppose CC does the same thing so it's not like there's not some precedent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants