Hotkey setup

New to this but want to set up hotkeys for gaming is there someone that is willing to help me out i have examples from friends that are doing it on windows but there not sure how to do it on a mac , any help . thanks

https://scontent-iad3-1.xx.fbcdn.net/v/t35.0-12/20226400_1472693169443320_1446652215_o.png?oh=5fbbbef8e98a7ccdaee771220937680a&oe=5973BCA1

It is very easy in Keyboard Maestro (KM).
Just create a Macro (KM Wiki), assign it the Hot Key trigger (KM Wiki) you want, and then insert one of these Actions (KM Wiki):

Feel free to post any follow-up questions.
Good luck, and let us know how it goes.

Also, if you have not yet, do the Tutorial (Help ➤ Tutorial) as it runs you through the process of creating a simple hot key macro.