you can define commands in ExecTBL.ini which are skin specific, see extract below:
/, This (OPTIONAL) file contains translation commands.
/, RR will accept the commands defined on the LEFT
/, and execute them as expressed on the RIGHT
/, you can use this to create or redefine any command
/, (or to add functionality to any syandard command).
/, The Format of this file is (by choice):
/, "<COMMAND>","<EXEC COMMAND>"
/, "<COMMAND>","<EXEC COMMAND>",filename.skin
So try and define the keycodes, and then the commands something like this:
I would use the ExecTBL.ini file in the skin directory, which makes these commands specific to that skin only.
You may be able to do this in KeyTBL.ini, I am not sure, but a couple of options at least.