Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

DSPad: Difference between revisions

From GameBrew
(Created page with "{{Infobox homebrew | title = DSPad | image = File:Dspad.png | type = Other | version = 0.2b | licence = Mixed | author = Ced | website = h...")
 
No edit summary
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox homebrew
{{Infobox DS Homebrews
| title       = DSPad
|title=DSPad
| image       = [[File:Dspad.png]]
|image=dspad.png
| type       = Other
|description=Turn DS into a wireless gamepad.
| version     = 0.2b
|author=Ced
| licence    = Mixed
|lastupdated=2007/03/20
| author      = Ced
|type=Other Apps
| website     = http://playeradvance.org/forum/showthread.php?p=109125#post109125
|version=0.2b
| download    = Media:DSPad02b.zip
|license=Mixed
| source      =
|download=https://dlhb.gamebrew.org/dshomebrew2/dspad_0.2b.zip
|website=http://playeradvance.org/forum/showthread.php?p=109125#post109125
}}
}}
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|DS2Key]] Windows server.


This program aims to act like a wireless gamepad.It was participated in the NEO Spring Compo 2007(winner).  
It was participated in the NEO Spring Coding Compo 2007 (NDS App).  


==Installation==
==Installation==
For the server part, you have to install PPJoy and run the server (DS2Key).  
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.
Before the first launch, you have to patch the nds file with the correct [[DLDI|DLDI]] driver.


===Linux server===
===Linux Server===
You'll need both "uinput" and "joydev" modules.
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".
Make sure to have read/write access on /dev/misc/uinput or /dev/input/uinput or /dev/uinput devices.
If you want to load another file, you could force it with the "-f" switch.
 
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:'''
'''Starting server:'''
  $ ./dspad_server -f DSPad_server.xml  
  $ ./dspad_server -f DSPad_server.xml  


Line 39: Line 42:
  [1]  Joystick device OK
  [1]  Joystick device OK
  [1]  Socket on port 16151 OK
  [1]  Socket on port 16151 OK
  [1] Creation of service: 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.
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:'''
'''Starting client:'''
 
* Make sure you patched the nds file with the correct [[DLDI|DLDI]] driver.
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.
 
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:'''
'''ds2key mode:'''
All you have to do, is set up your ds2key server as usual.
* 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.
* 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.
* By default, ds2key server listen on the 9501 port. Be sure to set up your dspad client to the right value.


===DS2Key windows SERVER===
===Windows Server===
Windows ds2key server could be used with DSPad which could be found [http://www.1emulation.com/forums/topic/21383-ds2key-server-07-beta/ here].   
Windows ds2key server could be used with DSPad which could be found [http://www.1emulation.com/forums/topic/21383-ds2key-server-07-beta/ here].   


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


While in ds2key mode, turbo keys are not available.  
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.
Plus, Only one touchscreen could be used. This is a ds2key limitation because it emulates keyboard+mouse while DSPad emulates joystick.
 
==Media==
'''How To Turn your DS into a PC Gamepad''' ([https://www.youtube.com/watch?v=g46ZZpUage8 Mechaghostman2]) <br>
<youtube>g46ZZpUage8</youtube>


==Changelog==
==Changelog==
Line 75: Line 80:
* Improved ds2key profile handling.
* Improved ds2key profile handling.
'''Version 0.2'''
'''Version 0.2'''
* Settings Gui, no need to edit xml file Cheesy
* Settings Gui, no need to edit xml file Cheesy.
* Animated menus, just for fun (gartoon icons)
* Animated menus, just for fun (gartoon icons).
* Automatic backlight shutdown after à choosen time
* Automatic backlight shutdown after à choosen time.
* Touch screen work as an analog stick with one or more DSes at the same time
* Touch screen work as an analog stick with one or more DSes at the same time.
* Turbo keys!
* Turbo keys.
* ds2key 0.6/0.7 compatibility mode (keys + touch screen)
* ds2key 0.6/0.7 compatibility mode (keys + touch screen).
* Open Source!
* Open Source.
* [Server] : xml config too.
* [Server]: xml config too.
'''Version 0.1'''
'''Version 0.1'''
* client et serveur works! (heavy zsnes testing ^^) )
* client et serveur works (heavy zsnes testing).
* xml config file
* XML config file.
* dldi is ok (only tested on supercard sd)
* DLDI is ok (only tested on supercard sd).
* gui powered by PAlib
* GUI powered by PAlib.
[[Category:Homebrew applications]]
 
==External links==
* PlayerAdvance.org - http://playeradvance.org/forum/showthread.php?p=109125#post109125
* NeoFlash - https://www.neoflash.com/forum/index.php?topic=3894.0
 
 
[[Category:NEO Spring Coding Compo 2007]]

Latest revision as of 12:30, 20 August 2024

DSPad
Dspad.png
General
AuthorCed
TypeOther Apps
Version0.2b
LicenseMixed
Last Updated2007/03/20
Links
Download
Website

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 Coding Compo 2007 (NDS App).

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:

  • Make sure you patched 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.

  • Open up the rar file, and follow Virtual Gamepad Setup.txt in there first.
  • Run DS2Key server (press unblock if the windows firewall shows up).
  • Put the .nds file in ur device and run it.
  • Press the settings icon, then press the middle icon. Only check the DS2Key compatibility mode - not the turbo keys.
  • Go back, click the third icon this time.Leave local port alone.
  • Change the server port to your computer's ip (find that out by going to command prompt and type in ipconfig /all).
  • Type in the port which the DS2Key SERVER is running through.
  • Save the settings.
  • 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.

Media

How To Turn your DS into a PC Gamepad (Mechaghostman2)

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.

External links

Advertising: