Sorry lowercase, but your question doesn't make any sense. What are you trying to achieve?

It sounds like you want your user to be able to customize what keys perform what actions. If that is the case then there are a few ways to go about it. It would help to know the compiler your using (FPC, Lazarus, Delphi) and version as well as what libraries you are/will be using.

One way to do it would be to use keyboard hooks to read the keyboard, then have a series of records that contain keys and methods that are called when those keys are signaled. In your game loop you compare to see what matches and then execute the attached method.