For the Cabinet Support Function in Steam, how is button mapping handled?

Home/For the Cabinet Support Function in Steam, how is button mapping handled?