Homebrew DS2Key SVN - Now with Windows GUI, and Linux console support!

sypherce

Member
OP
Newcomer
Joined
Dec 4, 2008
Messages
19
Trophies
1
Age
35
Location
USA, New York
Website
ds2key.1emu.net
XP
916
Country
United States
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
 
  • Like
Reactions: MyDePain

sypherce

Member
OP
Newcomer
Joined
Dec 4, 2008
Messages
19
Trophies
1
Age
35
Location
USA, New York
Website
ds2key.1emu.net
XP
916
Country
United States
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.
 

Gamer

DS Gamer
Member
Joined
Oct 28, 2002
Messages
634
Trophies
2
Location
Monterrey, México
Website
www.pikaflash.com
XP
527
Country
Mexico
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!
 

sypherce

Member
OP
Newcomer
Joined
Dec 4, 2008
Messages
19
Trophies
1
Age
35
Location
USA, New York
Website
ds2key.1emu.net
XP
916
Country
United States
Gamer said:
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.
 

IzzehO

Well-Known Member
Member
Joined
Aug 3, 2008
Messages
300
Trophies
0
XP
117
Country
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)?
 

sypherce

Member
OP
Newcomer
Joined
Dec 4, 2008
Messages
19
Trophies
1
Age
35
Location
USA, New York
Website
ds2key.1emu.net
XP
916
Country
United States
IzzehO said:
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.
 

IzzehO

Well-Known Member
Member
Joined
Aug 3, 2008
Messages
300
Trophies
0
XP
117
Country
Oh ok I see - Great! An awesome piece of homebrew I hope it gets lots of attention. I currently have a media centre PC set up in my lounge room and this is an awesome tool considering I've set A as play, B as stop, Up/Down as volume etc.. SO much more stable than win2ds and connects and gets in a lot faster.

Best homebrew ever IMO, for the sheer usefulness and saving me $100 on a wireless keyboard and mouse! Thanks and look forward to some graphical updates
tongue.gif
 

iritegood

Well-Known Member
Member
Joined
May 15, 2007
Messages
759
Trophies
0
Website
Visit site
XP
273
Country
United States
I can't believe I missed this! I was just going to see if I could find an updated DS2Key alternative and lo' and behold: DS2Key is being worked on again!
biggrin.gif
 

IzzehO

Well-Known Member
Member
Joined
Aug 3, 2008
Messages
300
Trophies
0
XP
117
Country

Oooooooook - Thanks for that great contribution on your first post...

Anywho still loving this program keep up the good work!
biggrin.gif
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Nut on the hill