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

Problem whit Danish (And Other) keyboards

Started by Pizzamanden12, 16 April 2013 - 05:34 AM
Pizzamanden12 #1
Posted 16 April 2013 - 07:34 AM
I found a bug, or i don't know if it is a bug.

On Danish (and other) keyboards, we have a button called "ALT GR" that we use to make some symbols like: "{, [, ], }" and others, but when i press "ALT GR" to make "{, [, ], }" it opens the menu, where you can save and exit the program, which makes it impossible to make "{, [, ], }"

The only way i can make "{, [, ], }" is to go into notepad, make the program, and upload it to Pastebin.

Danish Keyboard:


I hope this will be fixed, because i use tables a lot

//Pizzamanden12
Dlcruz129 #2
Posted 16 April 2013 - 12:36 PM
There are two things you can do to fix this.

1. Go to .minecraft/mods/ComputerCraft/lua/programs/edit, and change the key used to open and close the menu.

2. Press Alt Gr, then press and hold it along with the key used to make the symbol. This will close the menu and write the symbol.
oeed #3
Posted 16 April 2013 - 01:33 PM
Now, I could be wrong here but from the research I've done the AltGr key fires Control + Alt. Because of this there isn't really anything the devs can do to fix this as I would probally require changing the key for the menu, but as Dlcruz129 said you can change it yourself.

To do this, open the file Dlcruz129 said, go to line 553 and change the two keys to the keys you want (you could add more or remove one).
For example:

-- You could also use a key code
-- See http://www.minecraftwiki.net/wiki/Key_codes for more info
elseif param == keys.leftAlt then
Pizzamanden12 #4
Posted 17 April 2013 - 02:00 AM
Thanks… Helps me a lot :)/>