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

Discussion in 'NDS - Emulation and Homebrew' started by sypherce, Dec 4, 2008.

Dec 4, 2008
    • Newcomer

    sypherce New Member

    Member Since:
    Dec 4, 2008
    Message Count:
    14
    Location:
    USA, New York
    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


    • Member

    Vague Rant Deceptively cute

    Member Since:
    Aug 7, 2008
    Message Count:
    1,532
    Location:
    Melbourne
    Country:
    Australia
    Awesome, I've been using DS2Key forever and always wished that it had relative mouse movement. I'll look forward to the binaries.
    • Member

    Ducky QUACKJECTION!

    Member Since:
    Oct 13, 2007
    Message Count:
    1,086
    Location:
    Duckling Land!
    Country:
    Israel
    YES! My dream came true! Im in love with you man!
    • Former Staff

    OSW Wii King

    Member Since:
    Oct 30, 2006
    Message Count:
    4,800
    Country:
    Australia
    great to hear, i also think DS2Key is a great project!
    • Member

    nutella Low Glycemic Index

    Member Since:
    Sep 4, 2008
    Message Count:
    1,079
    Location:
    Your nearest supermarket
    Country:
    Australia
    Glad to see you took up my advice on the 1emulation forums. Thanks so much and be sure to update frequently.
    • Newcomer

    sypherce New Member

    Member Since:
    Dec 4, 2008
    Message Count:
    14
    Location:
    USA, New York
    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.
    • Member

    nutella Low Glycemic Index

    Member Since:
    Sep 4, 2008
    Message Count:
    1,079
    Location:
    Your nearest supermarket
    Country:
    Australia
    Wow, I'm impressed by your progess. Keep it up sypherce.
    • Member

    IzzehO New Member

    Member Since:
    Aug 3, 2008
    Message Count:
    300
    Country:
    Australia
    Wee bring on the DS2Key!!!
    • Newcomer

    sypherce New Member

    Member Since:
    Dec 4, 2008
    Message Count:
    14
    Location:
    USA, New York
    Country:
    United States
    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.
    • Member

    Gamer DS Gamer

    Member Since:
    Oct 28, 2002
    Message Count:
    613
    Location:
    Monterrey, México
    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!
    • Newcomer

    sypherce New Member

    Member Since:
    Dec 4, 2008
    Message Count:
    14
    Location:
    USA, New York
    Country:
    United States
    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.
    • Member

    VISHI SO FISHI Cricket My love!

    Member Since:
    Oct 1, 2007
    Message Count:
    765
    Location:
    A kindom far far away!
    Country:
    India
    Whats this app for could some one explain?, is it like ds2win?
    • Newcomer

    sypherce New Member

    Member Since:
    Dec 4, 2008
    Message Count:
    14
    Location:
    USA, New York
    Country:
    United States
    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.
    • Member

    IzzehO New Member

    Member Since:
    Aug 3, 2008
    Message Count:
    300
    Country:
    Australia
    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)?
    • Newcomer

    sypherce New Member

    Member Since:
    Dec 4, 2008
    Message Count:
    14
    Location:
    USA, New York
    Country:
    United States
    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.
    • Member

    IzzehO New Member

    Member Since:
    Aug 3, 2008
    Message Count:
    300
    Country:
    Australia
    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 [IMG]
    • Member

    nutella Low Glycemic Index

    Member Since:
    Sep 4, 2008
    Message Count:
    1,079
    Location:
    Your nearest supermarket
    Country:
    Australia
    Works good so far. Have yet to try the Guitar Grip but now I can use two DS's at the same time. Thanks.
    • Member

    iritegood New Member

    Member Since:
    May 15, 2007
    Message Count:
    759
    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! [IMG]
    • Member

    IzzehO New Member

    Member Since:
    Aug 3, 2008
    Message Count:
    300
    Country:
    Australia
    Oooooooook - Thanks for that great contribution on your first post...

    Anywho still loving this program keep up the good work! [IMG]
    • Member

    Brian117 New Member

    Member Since:
    Oct 1, 2007
    Message Count:
    3,230
    Location:
    Cleveland, OH
    Country:
    United States
    That has been reported.

    GTFO ->

Share This Page