MAME ctrlr cfg for TE

Hi, does anyone have a Tournament Edition ctrlr .cfg file for MAME? If so would you mind sharing it with me?

http://easyemu.mameworld.info/mameguidenew/mameguide-controlini.htm

Specifically what is the code for the hat switch up/down/left/right?