This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
negamartin's profile picture

Keyboard

Started by negamartin, 05 April 2013 - 07:59 AM
negamartin #1
Posted 05 April 2013 - 09:59 AM
There are monitors but no Keyboards in ComputerCraft.

A keyboard should be like a slab-sized peripheral which when looking at it and typing keys produces a "keyboard_key" or "keyboard_char" event.
It would be pretty useful to use computers without clicking the terminal :)/>
Just an idea.
Sammich Lord #2
Posted 05 April 2013 - 10:03 AM
What?
Cranium #3
Posted 05 April 2013 - 10:04 AM
No.
negamartin #4
Posted 05 April 2013 - 02:51 PM
Please, this would be a very good addition just open up an invisible GUI when looking at it and close when not looking, this would be perfect for games in HD, pleeeease, it would enable alot of cool games. Maybe even 3D gaming.

Better explained:
A keyboard would be a peripheral, which you can put your cross on like on enderman and press keys in your keyboard. Instead of producing "key" or "char" it produces "keyboard_key" and "keyboard_char" with parameters side and key. Better? I really didn't explain well in the main post.

PS. Sorry for my bad english, i'm chilean.
FuuuAInfiniteLoop(F.A.I.L) #5
Posted 05 April 2013 - 03:01 PM
There is a progrma that uses another monitor to use the keyboard in a monitor
MysticT #6
Posted 05 April 2013 - 03:03 PM
It's been suggested before, and iirc they said no.
I think it would be nice to have something like this, but I'm not sure what would be a good way to implement it. The way you want it would be almost useless. If you have to be looking at the keyboard, how will you see the monitor? :P/>
For now, the only input method is the advanced monitors touch support. It's not the same as keys, but it's usefull and someone even made a program that displays a keyboard on a monitor and you can use it.
Last thing, no matter how much you say please, if the devs say no, it's no.
negamartin #7
Posted 05 April 2013 - 03:35 PM
Ok. I didn't know this was suggested before.
Dlcruz129 #8
Posted 05 April 2013 - 03:39 PM
Ok. I didn't know this was suggested before.

And that is why the sticky says to search before making a suggestion.
SuicidalSTDz #9
Posted 05 April 2013 - 04:14 PM
And that is why the sticky says to search before making a suggestion.
Give up, no one reads the capitalized stickies titled READ ME! anymore..

Oh and in response to the main post: This is already very much possible using the monitor_touch event, that is, if you're not using Tekkit.. Make a keyboard on the screen then index a table full of x and y positions.
Sebra #10
Posted 07 April 2013 - 09:02 PM
Was suggested long time ago as peripheral.
Activated by right-click, deactivated by escape key.
While activated send to Computer usual keyboard events.
Was rejected/ignored.
theoriginalbit #11
Posted 07 April 2013 - 09:09 PM
For now, the only input method is the advanced monitors touch support. It's not the same as keys, but it's usefull and someone even made a program that displays a keyboard on a monitor and you can use it.
Yeeeee. there are 2 to be precise. my own and someone else's, can't remember who made it tho.

This is already very much possible using the monitor_touch event, that is, if you're not using Tekkit.. Make a keyboard on the screen then index a table full of x and y positions.
Sounds like CCKeyboard to me :P/> /endshamelessplug
Edited on 07 April 2013 - 07:11 PM
Cloudy #12
Posted 07 April 2013 - 09:52 PM
I have said many times that this role will be fulfilled by PDA's using rednet.
negamartin #13
Posted 08 April 2013 - 02:14 PM
PDA's detecting keys witjout opening?!?! Awesome! That replaces all of this!
Cloudy #14
Posted 08 April 2013 - 08:07 PM
I didn't say without opening.