Keyboard - theoriginalbit/MoarPeripherals GitHub Wiki

Keyboard
ID No.: 3474
Name: MoarPeripherals:blockKeyboard

The Keyboard is a unique placeable item which allows you to control ComputerCraft computers without covering your screen with their terminal display - in this regard they are similar to Advanced Monitors, although they provide keyboard input instead of mouse input. They're ideal for use with scripts which need to take advantage of the larger screen space only offered via external monitors while retaining keyboard input capabilities. Two models are available, Mac or PC - these are functionally identical but use different 3D models.

When first crafted, keyboards are "unpaired", and must be linked to a computer (or turtle) prior to usage. To do this, simply select the keyboard on your hotbar then right-click your target system.

Once this is done, the keyboard can then be placed anywhere in the world within 16 blocks of the target system (distance configurable in moarperipherals.cfg). Using (right-clicking) the keyboard will then react in much the same manner as using the system itself - it'll boot up if it wasn't on already, your MineCraft movement controls are disabled, and anything you type is passed to the system in concern (including combo commands such as Ctrl+R, etc). As of version 1.4 the Keyboard's GUI takes 1 second to activate, allowing you time to adjust where you're looking to get a better view before camera controls are disabled. Pressing Esc exits this mode.

If paired, a light will be visible on the back of the placed keyboard. Green indicates that it's currently linked to a system. Red means it's been linked at some point, but either because it's out of range or the linked system has been destroyed, it must be picked up and re-paired before it can be used again.

Like named computers/turtles, keyboards destroyed in creative mode drop re-collectable items so they can be re-placed elsewhere if need be.

Keyboards

##Recipe

Recipe

##Version History

Build Date Details
v1.5.0 15 December 2014 PC keyboard model added.
v1.4.0 11 October 2014 Added 1 second delay to the Keyboard GUI activation so the camera can be adjusted.
v1.3.0 8 October 2014 Fixed problem with status lights not displaying correctlySanitises paste event string correctly
v1.2.0 4 August 2014 Fixed rotations. Sorry this means you'll have to reorient your keyboards.
v1.1.18 26 July 2014 Fixed Keyboards not being craft-able.Keyboards now remember their connection even when broken.Keyboards no longer spam control key events to the computers.Keyboards now have a smaller collision box so you can walk over them more 'realistically'.
v1.1.6 19 July 2014 Keyboard not paired message is red to be better seen in chat.Keyboard is more stable with connections on a target, no longer causes crash in SMP when computer is no longer where expected.Shift-right clicking with a keyboard now places the keyboard instead of pairing.
v1.1.3 15 July 2014 Initial release.