Jump to content

Welcome to 1Emulation.com
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account
Photo

DS2Key 1.01 - Now with Windows and Linux console support

* * * * * 1 votes

  • Please log in to reply
61 replies to this topic

#1
sypherce

sypherce

    Proud Fan

  • Staff Members
  • 132 posts
  • Gender:Male
  • Location:USA, Oregon
  • Interests:Snes, Nes, Ps1, DS, Programming, Sleep
Click to view battle stats
UPDATE: DS2Key 1.01 released! Binaries available here

Changes:
Version 1.01 (Revision 44) January 20, 2009
  • Fixed bug with arrow keys sending numpad keys (2, 4, 6, 8).
  • Fixed GH Pad repeat bug reported blahblahblaster from gbadev.org.
  • Fixed CPU usage with server console versions.
  • Fixed repeated sending of "/p?".
  • 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

Attached Files


Edited by sypherce, 20 January 2009 - 09:28 PM.


#2
Lorentz

Lorentz

    Newbie Poster

  • Members
  • 1 posts
Click to view battle stats
svn checkout-ed, compiled for both, and am currently playing Touhou using my DS as controller.

Thanks for the work :3

[edit] IIRC, the address to the server is hard coded into the code? Had to alter that value. Or is there an undocumented server setting outside the code?

[edit2] Ah, it's on the DS as menu thingy, I see.

Edited by Lorentz, 02 October 2008 - 08:29 AM.


#3
hamtotem

hamtotem

    Newbie Poster

  • Members+
  • 4 posts
Click to view battle stats
Will this work with newer DSLites? Right now, my DSLite freezes when I choose a controller, which is strange, because for the first two weeks that I had my DS, it was working.

#4
sypherce

sypherce

    Proud Fan

  • Staff Members
  • 132 posts
  • Gender:Male
  • Location:USA, Oregon
  • Interests:Snes, Nes, Ps1, DS, Programming, Sleep
Click to view battle stats

Will this work with newer DSLites? Right now, my DSLite freezes when I choose a controller, which is strange, because for the first two weeks that I had my DS, it was working.

I've tried it extensively with my DSPhat and DSLite, cualquiercosa327's DSLite works as well. I'm not sure if my or his DSLite is a new or old one at this point though. I'm guessing it should all work fine though, considering I'm using the newest stable DSWifi library.

#5
Izzeh

Izzeh

    Newbie Poster

  • Members
  • 1 posts
Click to view battle stats
Damn can't wait for this to be released! I'm so sick of using the buggy win2ds gamepad =/

#6
shadow1w2

shadow1w2

    Newbie Poster

  • Members
  • 1 posts
Click to view battle stats
wow, glad to see the app is still being worked on. Was just digging it up now that I finally have a slot1 flash cart.
Used to play with this on my GBA flashcart and through a WiFi homebrew download server some years ago.
Now with NDS emulators I can use the DS as a controller :3
Course with a flash cart that beats the point.

Anyway, thanks for the continued work. Can't wait to download this.
Adding Guitar Hero adapter support is a cool idea.
Arkanoid turn dial support would be cool too, though its hard to get outside of japan anyway. Still, would be a good solution for a turn dial for Mame for me :3
A Wiimote just doesn't cut it.

#7
sypherce

sypherce

    Proud Fan

  • Staff Members
  • 132 posts
  • Gender:Male
  • Location:USA, Oregon
  • Interests:Snes, Nes, Ps1, DS, Programming, Sleep
Click to view battle stats

Arkanoid turn dial support would be cool too, though its hard to get outside of japan anyway. Still, would be a good solution for a turn dial for Mame for me :3
A Wiimote just doesn't cut it.


I wish I could add support for it, but lack of the actual device makes it very hard for me to add support. It took me quite a bit of code tinkering to get the Guitar Hero pad to work perfectly.

#8
hamtotem

hamtotem

    Newbie Poster

  • Members+
  • 4 posts
Click to view battle stats
Hey, hamtotem again. I'd just like to say that while this project is fricken awesome, it isn't getting the recognition it deserves.

This topic was posted two months ago and only 4 people other than sypherce have replied. Maybe you should post a topic on a more active site like GBATemp at some point and inform us of updates even if its just what you have done so far.

Personally, I don't care if you take another year to finish this project. At the least I know that you're still working on it.

#9
hamtotem

hamtotem

    Newbie Poster

  • Members+
  • 4 posts
Click to view battle stats
Hey, I don't know if you read my post or not but it seems that you have updated your first post. Still, as much as I appreciate your work, I honestly don't think anyone will know about because these forums are deserted.

#10
sypherce

sypherce

    Proud Fan

  • Staff Members
  • 132 posts
  • Gender:Male
  • Location:USA, Oregon
  • Interests:Snes, Nes, Ps1, DS, Programming, Sleep
Click to view battle stats

Hey, I don't know if you read my post or not but it seems that you have updated your first post. Still, as much as I appreciate your work, I honestly don't think anyone will know about because these forums are deserted.


I decided to take your advice GBAtemp post.

#11
00Davo

00Davo

    Newbie Poster

  • Members
  • 2 posts
Click to view battle stats
Please please please please please provide binaries (preferably for my Linux PC)! I simply cannot figure out how to compile the thing... :thumbsup1:




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users