User Tag List

Results 1 to 3 of 3

Thread: Frontend HELP

  1. #1
    No Products Registered

    Join Date
    Sep 2008
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Frontend HELP

    I've created an frontend for the EPSX emulator but one problem remain , the configuration of the keyboard or gamepad.
    I've tried and tried but with no luck.
    The registry code is:
    "Pad1"="203,205,200,208,32,45,44,31,17,18,19,20,47 ,46,16,21" - it's string value
    For example value "203" is for UP, value "205" is for DOWN and so on...
    I've created 16 "Active System Box" for UP; DOWN; LEFT; RIGHT
    and so on...
    What I want:
    When I press with the mouse on the "Active System Box" then press any key from the keyboard or gamepad retrive the "codekey" and add it's value to the registry and maintain the location of the rest values.
    I've created this code but the problem is when I press with the mouse on the "Active System Box" then press a key from the keyboard or gamepad the "codekey" is retrive and added to the registry but delete the rest of the values and remain only 1 value (the codekey that was retrive); something like this:
    "Pad1"="203"
    Can someone please help me ?



  2. #2
    No Products Registered

    Join Date
    Jul 2006
    Posts
    2,289
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)

    Re: Frontend HELP

    I am not sure if I have this right.

    It sounds like you are saving a series of numbers as a registry value and that series is dynamic and grows.

    It sounds like you need to keep a string of those values in your application as well as in the registry and then write the whole set after you add a value.

    Remember, like with any string or edit box, you have to concatenate the string by going "Newversionofstring" = "currentstring" + "addedtext".

    If you see what is wrong here, you are probably overwriting the registry string rather than saving a string, again, with additional information already added to it.

    Was that in the right direction?

  3. #3
    No Products Registered

    Join Date
    Sep 2008
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Frontend HELP

    Novabrain how can I do this ? Any other sugestion ?
    Thanks !

Similar Threads

  1. [Request, possibly paid] Windows Grid Frontend
    By Dines in forum Extension Development
    Replies: 12
    Last Post: 21st May 2008, 03:07 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •