By 'the portable layout', do you mean Portable Keyboard Layout (PKL) by Fárkas Máté, or something else?
Ah, you mention a 'layout.ini' file; I'll assume you're using PKL then. See, I haven't had much experience trying to fiddle with modifier keys in that (apart from CapsLock). But you'll need the key's Scan Code for the start of the line, its Virtual Key code name for the next entry and then what you want to remap it to (which is the VK name again, or a symbol - for a modifier you'd use entries like '*{CapsLock}').
So... atm I can't quite remember those but the SC/VK names should be 1d/LCtrl and 38/Alt I think (the VK name is capitalized in the 2nd column). Hope that helps!
Last edited by DreymaR (15-Feb-2012 15:28:55)