Actions

DSPad

From GameBrew - a wiki dedicated to Video Game Homebrew.

DSPad
Dspad.png
General
Author(s)Ced
TypeOther
Version0.2b
LicenceMixed
Links
Download
Website
Advertisements


This program aims to act like a wireless gamepad.This homebrew app allows you to control your PC from your DS by turning it into a wireless controller.The server app is currently Linux only, but the program does support the DS2Key Windows server.

It was participated in the NEO Spring Compo 2007(winner).

Installation

For the server part, you have to install PPJoy and run the server (DS2Key).

Before the first launch, you have to patch the nds file with the correct dldi driver.

Linux Server

You'll need both "uinput" and "joydev" modules. Make sure to have read/write access on "/dev/misc/uinput or /dev/input/uinput or /dev/uinput" devices.

The default server behaviour is to load "~/DSPad_server.xml". If you want to load another file, you could force it with the "-f" switch.

Starting server:

$ ./dspad_server -f DSPad_server.xml 
--- Starting DSPad Server v0.2 ---
Loading "DSPad_server.xml"
Reading "DSPad_server.xml" OK
[0] Creation of service:
[0]  Joystick device OK
[0]  Socket on port 16150 OK
[0] Creation of service: OK
[1] Creation of service:
[1]  Joystick device OK
[1]  Socket on port 16151 OK
[1] Creation of service: OK

After this step, there will be two (or more according your choice) new "/dev/input/jsX" and any game/emu could work with.

Starting client:

Before the first launch, you have to patch the nds file with the correct dldi driver.

In normal conditions, you would put the DSPad.xml file in your linker root file system. In the case this file does not exist, it will be automatically regenerated.

ds2key mode: All you have to do, is set up your ds2key server as usual. Then in the dspad settings, you have to check the "ds2key compatibility" box. By default, ds2key server listen on the 9501 port. Be sure to set up your dspad client to the right value.

Windows Server

Windows ds2key server could be used with DSPad which could be found here.

  1. Open up the rar file, and follow Virtual Gamepad Setup.txt in there first.
  2. Run DS2Key server ( press unblock if the windows firewall shows up).
  3. Put the .nds file in ur device and run it.
  4. Press the settings icon, then press the middle icon. Check the "DS2Key compatibility mode" ONLY - not the turbo keys.
  5. Go back, click the third icon this time.Leave local port alone.
  6. Change the server port to your computer's ip (find that out by going to command prompt and type in ipconfig /all).
  7. Type in the port which the DS2Key SERVER is running through.
  8. Save the settings.
  9. Press the first icon to start and press one.

While in ds2key mode, turbo keys are not available. Plus, Only one touchscreen could be used. This is a ds2key limitation because it emulates keyboard+mouse while DSPad emulates joystick.

Changelog

Version 0.2b

  • Improved ds2key profile handling.

Version 0.2

  • Settings Gui, no need to edit xml file Cheesy
  • Animated menus, just for fun (gartoon icons)
  • Automatic backlight shutdown after à choosen time
  • Touch screen work as an analog stick with one or more DSes at the same time
  • Turbo keys!
  • ds2key 0.6/0.7 compatibility mode (keys + touch screen)
  • Open Source!
  • [Server] : xml config too.

Version 0.1

  • client et serveur works! (heavy zsnes testing ^^) )
  • xml config file
  • dldi is ok (only tested on supercard sd)
  • gui powered by PAlib