I need help with a D Pad Please

So i want to add a d pad to a circuit for an arduino uno project. I have one from an old controller the Duo Gamer for ios
http://www.amazon.com/Duo-Gamer-iPad-iPhone-Touch/dp/B008M0NDOK/ref=cm_cr_pr_product_top

well i carefully took it part and the dpad was attached with header pins.I dont know what pins do what and how to hook it up. there are five pins could someone explain how to wire it up and which pins control what

any help would be awesome. Thanks
and i realize that it needs the rubbery cover to function

pictures of chip
https://drive.google.com/file/d/0B5NJvDJUtlG-WERHUHRWNUtMYVk/view?usp=sharing

https://drive.google.com/file/d/0B5NJvDJUtlG-SVk3ZnV4aDZYSk0/view?usp=sharing

Think of how a button(or switch works). You are completing a circuit. Go over the circuit traces and try to see which pin corresponds with which key.

If you notice, all of them share one common trace, and each have a trace that's unique to that button.

Alright. So if i put their unique pins to different inputs on the arduino and put the common pin to power would that work.

Thank You

nibrocd:
Alright. So if i put their unique pins to different inputs on the arduino and put the common pin to power would that work.

No you put the common one to ground and you enable the internal pull up resistors in the software.