Stormworks: Build and Rescue

Stormworks: Build and Rescue

Недостаточно оценок
Lua Keyboard - Uppercase, Lowercase, Special Characters (ASCII)
   
Наградить
В избранное
В избранном
Удалить
Метки: v1.4.17
Размер файла
Добавлен
Изменён
71.934 KB
20 ноя. 2021 г. в 3:36
28 апр. 2022 г. в 14:54
Обновлений: 3 (просмотреть)

Подпишитесь, чтобы загрузить
Lua Keyboard - Uppercase, Lowercase, Special Characters (ASCII)

В 1 коллекции, созданной CrazyFluffyPony
Ponys Microcontroller Tools
Предметов: 19
Описание
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
CrazyFluffyPony  [создатель] 28 апр. 2022 г. в 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 апр. 2022 г. в 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  [создатель] 10 мар. 2022 г. в 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 мар. 2022 г. в 13:16 
oh... how exactly do I connect them?
CrazyFluffyPony  [создатель] 10 мар. 2022 г. в 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 мар. 2022 г. в 13:10 
I press on the lowercase keys and it types the letter in uppercase
CrazyFluffyPony  [создатель] 10 мар. 2022 г. в 13:06 
Please describe it more detailed or send me a screenshot
RandomGuy0400 10 мар. 2022 г. в 9:01 
lowercase doesn't seem to work
CrazyFluffyPony  [создатель] 21 ноя. 2021 г. в 15:53 
It has been laying around a long time, integrated in PonyOS.
Upon request i now made a documentated standalone version.
Inverspe 21 ноя. 2021 г. в 15:25 
Interesting