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

[1.46][SSP FTB] Unable to type curly braces on non-US keyboard

Started by Hellfish, 26 December 2012 - 04:01 AM
Hellfish #1
Posted 26 December 2012 - 05:01 AM
Hello! *tips hat*
I'm playing this excellent mod via Feed The Beast (no surprise there, eh?) and have a slight problem when programming turtles. You see, I'm from sweden, and my keyboard requires me to press Ctrl+Alt+7 and Ctrl+Alt+8 to type opening and closing curly brace respectively. Of course, when I press Ctrl the Save/Exit/Print prompt pops up and prevents me from typing. This doesn't outright prevent me from programming but it does make it very fiddly to have parameters for programs, having to edit the program each time. Maybe the save/exit/print prompt could use another key not usually used in typing like F1-12 or the like?

Thanks for the mod and happy holidays!

EDIT: Edited to add more info as per sticky
Doyle3694 #2
Posted 26 December 2012 - 05:29 AM
I support this! Swedish coder as well.
remiX #3
Posted 26 December 2012 - 05:32 AM
There are programs to edit the way your keyboard works, like you can change ctrl+alt+7 to shift+7, etc.
But this is a good point, they should have an option for which key to use to open the save/exit/print menu.
Cloudy #4
Posted 26 December 2012 - 05:40 AM
Try using the other control key on your keyboard?

Either way if that doesn't work, press ctrl so menu comes up then hold ctrl to do your braces. Not perfect but it will work for now.
Hellfish #5
Posted 26 December 2012 - 05:46 AM
Both Ctrl keys cause the prompt, as well as Alt Gr. Like I said, it's no showstopper, it's just annoying to work around. Thanks for the quick reply!
Cloudy #6
Posted 26 December 2012 - 07:20 AM
Before running the program, go into the Lua program and type
keys.leftCtrl = keys.leftAlt
. Then exit the Lua prompt and run edit and see if it will work.
Hellfish #7
Posted 29 December 2012 - 10:17 PM
Sorry for the late response, christmas festivities and all that. That does work, thank you very much! I'll just have to add that to a startup script,right?