Hello! I found this great MFA by DaveC for remapping controls and had a question about referencing the keys.

http://community.clickteam.com/threads/91915-You-thoughts-on-Custom-Key-mapping?highlight=joypad

I'm using PMO now and the code is just your simple "repeat when right key is pressed", ect.

My question is, using DaveC's example, how can I reference what has been saved and apply it to my controls? I must not be understanding it fully because I can't get it to work. I feel like I need to set up Control X and reference the array at the start of the frame, but so far everything I've added is not working. I have tried using Control X and repeat when "KeyRight" is pressed, ect. I'm off in the weeds I think.

Has anyone done this before and could point me in the right direction?

EDIT: As usual I figure it out after I post! ^_^. Super easy, if anyone else is stuck on this - all you do is say Repeat while key is pressed under Control X, then choose the custom key tracker object and pick the alterable string for what key you want to reference.