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

Change control key

Started by mjmr89, 12 January 2013 - 09:59 PM
mjmr89 #1
Posted 12 January 2013 - 10:59 PM
Hey guys, my left control key broke off a while ago and is unusable, and that poses a problem for CC. I can use it just fine to do something like ctrl+T because that recognizes the right ctrl button - but I cannot save programs, because that does not recognize my right ctrl key. Can anyone help me out? Is there some config that I can't find for this, or maybe some actual computer program that will make minecraft think I'm pressing my left control button?

Thanks!
theoriginalbit #2
Posted 12 January 2013 - 11:04 PM
according to the source code of the edit program the right control should also bring up the menu

source:

elseif param == keys.leftCtrl or param == keys.rightCtrl then
remiX #3
Posted 13 January 2013 - 05:11 AM
You can also change the key, if this is single player

Open the edit program, look for the line theOriginalBit stated and change it to alt or whatever
Orwell #4
Posted 13 January 2013 - 06:17 AM
according to the source code of the edit program the right control should also bring up the menu

source:

elseif param == keys.leftCtrl or param == keys.rightCtrl then
On my azerty keyboard, a key event on pressing right control gives the keycode 157, while keys.rightCtrl == 153. So it won't work in every case. :mellow:/>