GBAtemp.net logo
GBAtemp.net navigation bar
Welcome Guest ( Log In | Register )  ·  Forum rules · Site Index


3 Pages V   1 2 3 >  
 Reply to this topic Start new topic Start Poll 
DS2Key SVN - Now with Windows GUI, and Linux console support!, A gamepad emulator for the Nintendo DS
sypherce
post Dec 4 2008, 03:53 PM
Post #1


Member
*

Group: Newcomers
Posts: 12
Joined: 4-December 08
From: USA, New York
Member No.: 146,128

 



UPDATE: DS2Key 1.01 released! Binaries available here

Changes:
Version 1.01 (Revision 44) January 20, 2009
  1. Fixed bug with arrow keys sending numpad keys (2, 4, 6, 8).
  2. Fixed GH Pad repeat bug reported blahblahblaster from gbadev.org.
  3. Fixed CPU usage with server console versions.
  4. Fixed repeated sending of "/p?".
  5. Fixed a bug with the mouse cursor sending negative values, causing wrapping in the linux version.

Recently cualquiercosa327 contacted me with an interest in adding adapters, such as the Guitar Hero Grip, to my DS2Key application. I spoke to him saying I had lost all the server source code, which would make it impossible without recoding everything again to add these features. Long story short with some help from cualquiercosa327 I have almost completed the server and client working with all old features of DS2Key, and I've added the Guitar Hero Grip feature. I'm not going to release binaries until I feel that it is polished enough for the normal user. Although I am asking if you are able to compile it from the SVN to please give input on what features you would like to see. If anyone would like to help with this project simply get the source from the SVN and either post your changes or send them to me directly. Any help including bug reports would be greatly appreciated.

Current Status
The server (PC side) is either a GUI or console window (only console in Linux for now). It runs off of configuration files it generates when it first needs to use them. You are able to edit them by hand if you're using the console version. At this point it's undocumented, but it shouldn't be too hard to figure out the codes if you're able to compile it, just read through the source code a bit.

The client (DS side) has a simple GUI at this point. tapping the top left where you see a badly drawn rotating gear you can edit the settings, which are also saved. To edit the settings just tap "[Edit]" next to the setting and it'll bring up a keyboard, pressing enter when you're done editing will take you back. You'll have to change the IP for sure the first time, the default is 0.0.0.0 which is invalid for everyone. Then press "[Done]" to go back to using DS2Key. at the bottom right corner is a cursor image, tapping that will lock the screen back lights on, and you'll be able to use the mouse or mouse buttons, tapping it again will deactivate this mode.

Complete:
  • Action Buttons (Normal button input, a, b, left, right, etc)
  • Exact Mouse movement (Touching the middle of the touch screen sets the cursor on the middle of the PC screen, etc)
  • Mouse Touch Screen buttons (The screen is divided into having 12 buttons working similar to the normal buttons)
  • (New)Guitar Hero Grip buttons (All four buttons act the same as the normal buttons, but have their own settings)
  • (New)Mouse Clicks (Left, right, and middle buttons)
  • (New)Linux Support (All functions work as they do in Windows now)
  • (New)Windows GUI Support (Very friendly GUI :3 )
Planned:
  • Relative Mouse movement (Similar to a laptop's mouse pad)
  • Profile Toggle Function (Press or hold a key to switch to another profile)
Known Bugs:
  • (Squashed)Mouse input doesn't cover entire screen -- deadzone borders need to be made for the touch screen.
  • (Squashed)GUI log is disabled -- log caused lags, disabling command logs should fix this
  • (Squashed)Setting mouse button clicks in the GUI doesn't work -- mouse clicks actually work, just setting them up in the GUI doesn't
  • (Squashed)After changing the IP on the DS, the server ends up sending /p? repeatedly -- restarting the DS makes everything work fine
  • (Squashed)Arrow key settings actually send numpad arrow keys, or numbers, depending on numlocks status
  • Setting GUI log to "All Messages" causes lag. This log mode is mostly for testing your connection, just switch the setting to something else and it will run lag free


This post has been edited by sypherce: Jan 20 2009, 10:32 PM
Profile Card
Go to the top of the pageUser's Wiki pageFriend Codes
+Quote Post
Sponsored Links
post
Post #












ShopTemp.com
FileTrip & GBAtemp's Partner Shop now open!
Amazing deals, free shipping, loads of cool gadgets and flashcarts!
- Acekard 2i: under $15
- R4 DS Revolution: $6 only
- Supercard DSTWO: under $35
- Tons of gadgets and cheap gifts under $5
And much more! Check it out now!
Go to the top of the pageUser's Wiki pageFriend Codes
Quote Post
Vague Rant
post Dec 5 2008, 12:09 AM
Post #2


Deceptively cute
Group Icon

Group: Members
Posts: 1,396
Joined: 7-August 08
From: Green Bay, WI
Member No.: 132,767

 



Awesome, I've been using DS2Key forever and always wished that it had relative mouse movement. I'll look forward to the binaries.
Profile Card
Go to the top of the pageUser's Wiki pageFriend Codes
+Quote Post
Ducky
post Dec 5 2008, 11:38 AM
Post #3


QUACKJECTION!
Group Icon

Group: Members
Posts: 1,038
Joined: 13-October 07
From: Duckling Land!
Member No.: 106,694

 



YES! My dream came true! Im in love with you man!
Profile Card
Go to the top of the pageUser's Wiki pageFriend Codes
+Quote Post
OSW
post Dec 5 2008, 12:40 PM
Post #4


Wii King
Group Icon

Group: Global Moderators
Posts: 4,660
Joined: 30-October 06
From: Melbourne, Australia
Member No.: 52,582

 



great to hear, i also think DS2Key is a great project!
Profile Card
Go to the top of the pageUser's Wiki pageFriend Codes
+Quote Post
nutella5600
post Dec 6 2008, 05:03 AM
Post #5


Eat my shorts. Eat my delicious, delicious shorts.
*****

Group: Members
Posts: 526
Joined: 4-September 08
From: Hangin' with Vegemite
Member No.: 134,541

 



Glad to see you took up my advice on the 1emulation forums. Thanks so much and be sure to update frequently.
Profile Card
Go to the top of the pageUser's Wiki pageFriend Codes
+Quote Post
sypherce
post Dec 9 2008, 08:43 PM
Post #6


Member
*

Group: Newcomers
Posts: 12
Joined: 4-December 08
From: USA, New York
Member No.: 146,128

 



I just wanted to note that I fixed almost everything I can without user testing. I can't replicate the /p? bug anymore, but I know it's still there. Last thing I will (possibly) add before releasing a beta binary is the touch pad emulation. I might also work on the client a bit more but it seems functional enough.
Profile Card
Go to the top of the pageUser's Wiki pageFriend Codes
+Quote Post
nutella5600
post Dec 10 2008, 05:38 AM
Post #7


Eat my shorts. Eat my delicious, delicious shorts.
*****

Group: Members
Posts: 526
Joined: 4-September 08
From: Hangin' with Vegemite
Member No.: 134,541

 



Wow, I'm impressed by your progess. Keep it up sypherce.
Profile Card
Go to the top of the pageUser's Wiki pageFriend Codes
+Quote Post
IzzehO
post Dec 16 2008, 02:01 PM
Post #8


GBAtemp Fan
****

Group: Members
Posts: 300
Joined: 3-August 08
Member No.: 132,461

 



Wee bring on the DS2Key!!!
Profile Card
Go to the top of the pageUser's Wiki pageFriend Codes
+Quote Post
sypherce
post Dec 31 2008, 05:39 AM
Post #9


Member
*

Group: Newcomers
Posts: 12
Joined: 4-December 08
From: USA, New York
Member No.: 146,128

 



I would just like to add that I've released binaries. They should work perfectly, but I'm wanting any input, and hopefully you guys can find any bugs that I couldn't.
Profile Card
Go to the top of the pageUser's Wiki pageFriend Codes
+Quote Post
Gamer
post Dec 31 2008, 06:25 AM
Post #10


DS Gamer
*****

Group: Members
Posts: 556
Joined: 28-October 02
From: Monterrey, México
Member No.: 821

 



The app works fine, besides this:

Not sure if I'm doing anything wrong, but, the normal directional buttons seems to get mapped to the numeric-Keyboard (ie. UP --> 8, DOWN --> 2) so I have to turn off Num-lock so they work as normal directional buttons.

The problem is, I was trying some emus like VBA, and if I press "UP" it recognizes it as 8, even with Num-lock off, so I have to map everything again in the emu.

Of course, I made sure in the GUI (PC-Side) the keys were correctly mapped. I'm using Windows Vista if that makes any difference.

Hope you understand my problem.

Thanks a lot!! Great tool!

This post has been edited by Gamer: Dec 31 2008, 06:25 AM
Profile Card
Go to the top of the pageUser's Wiki pageFriend Codes
+Quote Post
sypherce
post Dec 31 2008, 09:38 AM
Post #11


Member
*

Group: Newcomers
Posts: 12
Joined: 4-December 08
From: USA, New York
Member No.: 146,128

 



QUOTE(Gamer @ Dec 31 2008, 12:25 AM) *
The app works fine, besides this:

Not sure if I'm doing anything wrong, but, the normal directional buttons seems to get mapped to the numeric-Keyboard (ie. UP --> 8, DOWN --> 2) so I have to turn off Num-lock so they work as normal directional buttons.

The problem is, I was trying some emus like VBA, and if I press "UP" it recognizes it as 8, even with Num-lock off, so I have to map everything again in the emu.

Of course, I made sure in the GUI (PC-Side) the keys were correctly mapped. I'm using Windows Vista if that makes any difference.

Hope you understand my problem.

Thanks a lot!! Great tool!


That's been a known "side effect" for a long time in DS2Key, it's never seemed to cause any real problems, it's just more of an annoyance really. Depending on how the emulator detects keys you might be able to just map with the real arrow keys and ds2key might still work.
Profile Card
Go to the top of the pageUser's Wiki pageFriend Codes
+Quote Post
VISHI SO FISHI
post Dec 31 2008, 09:51 AM
Post #12


Cricket My love!
*****

Group: Members
Posts: 765
Joined: 1-October 07
From: A kindom far far away!
Member No.: 103,952

 



Whats this app for could some one explain?, is it like ds2win?

Profile Card
Go to the top of the pageUser's Wiki pageFriend Codes
+Quote Post
sypherce
post Dec 31 2008, 04:39 PM
Post #13


Member
*

Group: Newcomers
Posts: 12
Joined: 4-December 08
From: USA, New York
Member No.: 146,128

 



QUOTE(VISHI SO FISHI @ Dec 31 2008, 03:51 AM) *
Whats this app for could some one explain?, is it like ds2win?


It's a gamepad emulator. When you press a button on the DS it'll send a key press on the PC, there's also mouse emulation. It doesn't show your pc desktop on the DS like ds2win though.
Profile Card
Go to the top of the pageUser's Wiki pageFriend Codes
+Quote Post
IzzehO
post Dec 31 2008, 09:51 PM
Post #14


GBAtemp Fan
****

Group: Members
Posts: 300
Joined: 3-August 08
Member No.: 132,461

 



Omg awesome! It's finally here, and unlike the other ds2keys.. it just... works! Woo thanks...

One question though - How do I get mouse movements working? am I missing something o.0

EDIT: Also any plan to add a minimize to system tray for the windows GUI (or even a minimize)?

This post has been edited by IzzehO: Dec 31 2008, 09:52 PM
Profile Card
Go to the top of the pageUser's Wiki pageFriend Codes
+Quote Post
sypherce
post Jan 1 2009, 02:11 AM
Post #15


Member
*

Group: Newcomers
Posts: 12
Joined: 4-December 08
From: USA, New York
Member No.: 146,128

 



QUOTE(IzzehO @ Dec 31 2008, 03:51 PM) *
Omg awesome! It's finally here, and unlike the other ds2keys.. it just... works! Woo thanks...

One question though - How do I get mouse movements working? am I missing something o.0

EDIT: Also any plan to add a minimize to system tray for the windows GUI (or even a minimize)?


To make mouse movements work, set all the mouse buttons to "None". Also, closing the window will minimize to the system tray, you have to go to click the "Exit" in the menus to actually close the server.
Profile Card
Go to the top of the pageUser's Wiki pageFriend Codes
+Quote Post
Sponsored Links
post
Post #












ShopTemp.com
FileTrip & GBAtemp's Partner Shop now open!
Amazing deals, free shipping, loads of cool gadgets and flashcarts!
- Acekard 2i: under $15
- R4 DS Revolution: $6 only
- Supercard DSTWO: under $35
- Tons of gadgets and cheap gifts under $5
And much more! Check it out now!
Go to the top of the pageUser's Wiki pageFriend Codes
Quote Post
« Next Oldest · NDS - Homebrew Games & Applications · Next Newest »
 

3 Pages V   1 2 3 >
Reply to this topic Start new topic 

> 1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
 





Privacy Policy
ShopTemp.fr, R4 et flashcarts pour consoles portables! Frais de port gratuit, soldes et offres toute l'année!

This website is part of the GBATEMP NETWORK :: GBAtemp.net :: FileTrip.net :: ShopTemp.com