Stormworks: Build and Rescue

Stormworks: Build and Rescue

Onvoldoende beoordelingen
Lua Keyboard - Uppercase, Lowercase, Special Characters (ASCII)
   
Prijs
Toevoegen aan favorieten
Toegevoegd aan favorieten
Verwijderen uit favorieten
Bestandsgrootte
Geplaatst op
Bijgewerkt op
71.934 KB
20 nov 2021 om 3:36
28 apr 2022 om 14:54
3 wijzigingsnotities (weergeven)

Abonneren om te downloaden
Lua Keyboard - Uppercase, Lowercase, Special Characters (ASCII)

In 1 verzameling van CrazyFluffyPony
Ponys Microcontroller Tools
19 items
Omschrijving
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://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2090428857
12 opmerkingen
CrazyFluffyPony  [auteur] 28 apr 2022 om 14:58 
@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 25 apr 2022 om 17:08 
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  [auteur] 10 mrt 2022 om 13:23 
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 10 mrt 2022 om 13:16 
oh... how exactly do I connect them?
CrazyFluffyPony  [auteur] 10 mrt 2022 om 13:12 
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 10 mrt 2022 om 13:10 
I press on the lowercase keys and it types the letter in uppercase
CrazyFluffyPony  [auteur] 10 mrt 2022 om 13:06 
Please describe it more detailed or send me a screenshot
RandomGuy0400 10 mrt 2022 om 9:01 
lowercase doesn't seem to work
CrazyFluffyPony  [auteur] 21 nov 2021 om 15:53 
It has been laying around a long time, integrated in PonyOS.
Upon request i now made a documentated standalone version.
Inverspe 21 nov 2021 om 15:25 
Interesting