How to handle gamepad input

I saw Blits in the document Launch can define the global keymap. How to define the mapping of game controllers. For example, DPadUp=>ArrowUp,