You still have up, down, left, right mapped to the keyboard's up, down, left, and right. For MAME, you need to map your controls (go into the menu via tab, like BobA said). The ZD encoder does not output MAME default controls (keyboard key strokes), it's a gamepad device and needs to be mapped in MAME.