recieving input from DDR (dance dance revolution) carpet

Im trying to recieve input from a dancing carpet (it has a USB cable and built in pressure sensor inside)
and handle the inputs for playing other games on the computer (like snake)
we came with two options :
-openning the carpet and connecting our switches directly to the arduino..
-finding a library for input of maybe an hid device or usb device

please help me!

i found this library
http://www.airspayce.com/mikem/arduino/USBJoystick/

dont know if it will work..