I did this because i wanted a cheap remote and all ready had a wiimote bluetoothed to my computer.
the things you need are
Bluetooth USB adapter
Step 1: Attach Wiimote
to hook wiimote up to your computer. plug your bluetooth USB into your computer then open it up your bluetooth stack. click "new connection", click okay and press the 1+2 buttons on your wiimote. the when you've connected the wiimote's LEDS will keep flashing.
Step 2: PIE Time!!!
key.space = wiimote.A
key.Right = wiimote.Down
key.Left = wiimote.Up
key.Ctrl and key.up = wiimote.Plus
key.ctrl and key.down = wiimote.minus
Step 3: Run Everything
Test your controls if they work Kudos to youand your Geekery.