Stormworks: Build and Rescue

Stormworks: Build and Rescue

Ei tarpeeksi arvosteluja
Lua Keyboard - Uppercase, Lowercase, Special Characters (ASCII)
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Tunnisteet: v1.4.17
Tiedostokoko
Julkaistu
Päivitetty
71.934 KB
20.11.2021 klo 3.36
28.4.2022 klo 14.54
3 muutosilmoitusta ( näytä )

Tilaa ladataksesi
Lua Keyboard - Uppercase, Lowercase, Special Characters (ASCII)

1 kokoelmassa, tekijä CrazyFluffyPony
Ponys Microcontroller Tools
19 luomusta
Kuvaus
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 kommenttia
CrazyFluffyPony  [tekijä] 28.4.2022 klo 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.4.2022 klo 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  [tekijä] 10.3.2022 klo 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.3.2022 klo 13.16 
oh... how exactly do I connect them?
CrazyFluffyPony  [tekijä] 10.3.2022 klo 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.3.2022 klo 13.10 
I press on the lowercase keys and it types the letter in uppercase
CrazyFluffyPony  [tekijä] 10.3.2022 klo 13.06 
Please describe it more detailed or send me a screenshot
RandomGuy0400 10.3.2022 klo 9.01 
lowercase doesn't seem to work
CrazyFluffyPony  [tekijä] 21.11.2021 klo 15.53 
It has been laying around a long time, integrated in PonyOS.
Upon request i now made a documentated standalone version.
Inverspe 21.11.2021 klo 15.25 
Interesting