Stormworks: Build and Rescue

Stormworks: Build and Rescue

Not enough ratings
Lua Keyboard - Uppercase, Lowercase, Special Characters (ASCII)
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
71.934 KB
Nov 20, 2021 @ 3:36am
Apr 28, 2022 @ 2:54pm
3 Change Notes ( view )

Subscribe to download
Lua Keyboard - Uppercase, Lowercase, Special Characters (ASCII)

In 1 collection by CrazyFluffyPony
Ponys Microcontroller Tools
19 items
Description
All in one single lua script!

Easily use keyboard data within your own script.
This vehicle contains a microcontroller with two lua scripts and a bunch of logic connections. Your code will be placed inside the upper lua script. This script is already filled with some example code.

Features
  • Supported characters: all printable ASCII characters
  • Handles touchscreen data automatically (only single touchpoint)
  • Only single number channel required for communication, your script can use all other 31 number inputs (just 1 needed for the keyboard)
  • Responsive (automatically fits monitor size)

Recommendations
If you want to display lowercase characters in your script, then use this library:
https://steamcommunity.com/sharedfiles/filedetails/?id=2090428857
12 Comments
CrazyFluffyPony  [author] Apr 28, 2022 @ 2:58pm 
@xaonGames420

It works exactly as it should.

This is just a showcase, the erase key is not implemented, because YOU are supposed to write that code. I'm just providing the code that displays the keyboard and forwards the pressed keys.

It is probably not explained very well, but people you do projects that require a keyboard will easily understand the example.

Anyway i implemented the Erase Key and removed the red coloring of the open button (which is meant to indicate how long the button was pressed, but obviously just confuses people).
XaonGames420 Apr 25, 2022 @ 5:08pm 
this does not work anymore..
when opening the open button turns red
when Open button is closed it stays red
close button does not turn a different color
Back/Erase Key does not work
CrazyFluffyPony  [author] Mar 10, 2022 @ 1:23pm 
You cannot just "connect it", It is not meant to just be connected. It's meant for people who write their own script (e.g. a password field or a text input) and they use this as a helper script.
RandomGuy0400 Mar 10, 2022 @ 1:16pm 
oh... how exactly do I connect them?
CrazyFluffyPony  [author] Mar 10, 2022 @ 1:12pm 
If you read the description on this page, you can see that you need a special script to display lowercase, Stormworks cannot do it by itself
RandomGuy0400 Mar 10, 2022 @ 1:10pm 
I press on the lowercase keys and it types the letter in uppercase
CrazyFluffyPony  [author] Mar 10, 2022 @ 1:06pm 
Please describe it more detailed or send me a screenshot
RandomGuy0400 Mar 10, 2022 @ 9:01am 
lowercase doesn't seem to work
CrazyFluffyPony  [author] Nov 21, 2021 @ 3:53pm 
It has been laying around a long time, integrated in PonyOS.
Upon request i now made a documentated standalone version.
Inverspe Nov 21, 2021 @ 3:25pm 
Interesting