-
Notifications
You must be signed in to change notification settings - Fork 0
Keyboard
murpyh edited this page Jun 25, 2022
·
35 revisions
A device which allows you to get player input using a keyboard-like interface.
void Keyboard:SimulateKeyPress(string? key, string Player)
void Keyboard:SimulateTextInput(string? input, string Player)
Event Keyboard.KeyPressed(KeyCode key, string Player)
Event Keyboard.TextInputted(string text, string Player)
Takes a string as a key to press and simulates pressing that key for the Keyboard.
Takes a string as input and simulates typing that string for the Keyboard.
An event which fires when a Player presses a key on the Keyboard. keyString is the key pressed as a string (for example,
a
if the player pressed A.) If shift is held, the keyString will be capitalized. If the key is non-printable (i.e. shift or return) keyString will be nil.
An event which fires when a Player presses "Enter" on the keyboard.
Home | Globals | Additional resources | TODO
-
Part
- Part.ClassName
- Part.Position
- Part.CFrame
- Part.GUID
- Part:GetColor()
- Part:GetSize()
- Part:Trigger()
- Part:Configure()
- Part:Connect()
- Evt Triggered
- Evt Configured
- Gyro
- Keyboard
- Microphone
- LifeSensor
- Instrument
- EnergyShield
- Disk
- Bin
- Container
- Modem
- Screen
- TouchSensor
- Button
- Light
- Rail
- StarMap
- Telescope
- Speaker
- Reactor
- Microcontroller
- Dispenser
- Faucet
- Servo
- BlackBox
Additional objects used in Microcontrollers
Public code that enhances the experience of using a Microcontroller.