WEB odd request...

Discussion in 'OT Technology' started by maxxpower, Nov 21, 2008.

  1. maxxpower

    maxxpower OG Lauren Crew - Observer OT Supporter

    Joined:
    May 27, 2007
    Messages:
    26,348
    Likes Received:
    0
    i am building an application that requires a single usb programmable button to be mapped to a keyboard key.
    The hope is to end up with a small arcade or similar style button that is plugged into the usb port of a computer and it will emulate an "esc" or "spacebar" button.

    i cant find shit on google for this.?
     
  2. maxxpower

    maxxpower OG Lauren Crew - Observer OT Supporter

    Joined:
    May 27, 2007
    Messages:
    26,348
    Likes Received:
    0
  3. Pepsi1975

    Pepsi1975 Mod of the Year

    Joined:
    Jan 6, 2005
    Messages:
    47,590
    Likes Received:
    1
    Location:
    Detroit
    dude you are forgetting the kingtoad symbol
     
  4. whup

    whup I wish you had children and.. so that I could step

    Joined:
    Feb 12, 2007
    Messages:
    1,603
    Likes Received:
    0
    It's a bit unclear. Are you going to plug an arcade joystick into a PC via USB and you want to bind the buttons on the joystick to a windows key?

    Is it just a single-button pad or something?

    And what is your app going to be written in, or you haven't chosen yet?
     
  5. maxxpower

    maxxpower OG Lauren Crew - Observer OT Supporter

    Joined:
    May 27, 2007
    Messages:
    26,348
    Likes Received:
    0
    :kingtoad:
     
  6. maxxpower

    maxxpower OG Lauren Crew - Observer OT Supporter

    Joined:
    May 27, 2007
    Messages:
    26,348
    Likes Received:
    0
    fuck, still doesnt work!
     
  7. maxxpower

    maxxpower OG Lauren Crew - Observer OT Supporter

    Joined:
    May 27, 2007
    Messages:
    26,348
    Likes Received:
    0
  8. maxxpower

    maxxpower OG Lauren Crew - Observer OT Supporter

    Joined:
    May 27, 2007
    Messages:
    26,348
    Likes Received:
    0
    A single button via usb that i can map to a key, any key on a keyboard.
    App is written in c# with other shit thrown in for fun.
     
  9. whup

    whup I wish you had children and.. so that I could step

    Joined:
    Feb 12, 2007
    Messages:
    1,603
    Likes Received:
    0
    Sounds like a weird device!

    Run dxdiag and see if your device shows up in Input tab, and if it is, you should be able to hook into it using DirectInput.

    Also if it gets detected in there, it should be bindable by some gaming utility apps that I know are out there, if that would suit your needs as well?
     
  10. whup

    whup I wish you had children and.. so that I could step

    Joined:
    Feb 12, 2007
    Messages:
    1,603
    Likes Received:
    0
  11. maxxpower

    maxxpower OG Lauren Crew - Observer OT Supporter

    Joined:
    May 27, 2007
    Messages:
    26,348
    Likes Received:
    0
    ok, im not explaining it well.
    I dont have a usb button, I need a usb single button that i can map to a key.
    [​IMG]
    And i needs to be via USB as the system that it will be working with has no inputs at all, no mouse, no keyboard, just this single button.
     
  12. Krakerjak

    Krakerjak Active Member

    Joined:
    Jul 7, 2003
    Messages:
    8,288
    Likes Received:
    0
    Location:
    Edmonton eh
    What is your budget on this?
    There are really no devices like this that will do what you are hoping.

    Problem is that USB is a difficult interface to implement, and such a simple device would not be worth making as a USB device.

    A microcontroller is needed for communication between your device and the PC, a device driver needs to be written for the computer to be able to recognize what it is connected to, then an application to do something useful with the information with the USB device.
     
    Last edited: Nov 22, 2008
  13. Krakerjak

    Krakerjak Active Member

    Joined:
    Jul 7, 2003
    Messages:
    8,288
    Likes Received:
    0
    Location:
    Edmonton eh
  14. whup

    whup I wish you had children and.. so that I could step

    Joined:
    Feb 12, 2007
    Messages:
    1,603
    Likes Received:
    0
    So you're actually looking for a bit of hardware? Why are you posting this in the Webmaster's Lab?
     
  15. Pepsi1975

    Pepsi1975 Mod of the Year

    Joined:
    Jan 6, 2005
    Messages:
    47,590
    Likes Received:
    1
    Location:
    Detroit
    because maxxpower > you :mamoru:

    because we take care of our own in here
     
  16. maxxpower

    maxxpower OG Lauren Crew - Observer OT Supporter

    Joined:
    May 27, 2007
    Messages:
    26,348
    Likes Received:
    0
    Because i looked for the "obscure single button usb hardware" subforum and couldnt find one.
    :squint:



    Because people know shit in this place.
     
  17. maxxpower

    maxxpower OG Lauren Crew - Observer OT Supporter

    Joined:
    May 27, 2007
    Messages:
    26,348
    Likes Received:
    0
    Those will work, bit of a hack but it has enough information to get me started.
    I might be better off just buying these at 3$
    http://www.amazon.com/Numpad-Number-Keyboard-Laptop-Notebook/dp/B0019W7HKE
     
  18. whup

    whup I wish you had children and.. so that I could step

    Joined:
    Feb 12, 2007
    Messages:
    1,603
    Likes Received:
    0
    Not being negative, just saying that I would think Computers & Programming would be a better bet, but then again, some of the regulars there are hopeless :mamoru:
     
  19. whup

    whup I wish you had children and.. so that I could step

    Joined:
    Feb 12, 2007
    Messages:
    1,603
    Likes Received:
    0
    There's a pretty good community around custom-building and hacking arcade sticks for things like emulation gaming, so I think you would be well served to get an existing USB pad or controller and customize the button(s) on that.

    What do you need this for anway? A panic button heh?
     
  20. maxxpower

    maxxpower OG Lauren Crew - Observer OT Supporter

    Joined:
    May 27, 2007
    Messages:
    26,348
    Likes Received:
    0
    Its a digital media player based on a small platform solid state pc, the media player loads hd commercials from usb stick and feeds it to 2 or more digital LCD displays as one wide display.
    [​IMG]
    But commercial type LCD displays.
    The customer will change the stick loaded with the new commercials by hand as there is no networks available in the 25-40 locations.
    Issue is, the player can recycle the loader upon reboot or I can assign a keystroke, but, with no keyboard I need a single button to replace it.
    If I provide a usb button, the player will recycle instantly and the signs will sync, if I do not, the customer will have to wait for the OS to cycle and load the new content.
     
  21. whup

    whup I wish you had children and.. so that I could step

    Joined:
    Feb 12, 2007
    Messages:
    1,603
    Likes Received:
    0
    Damn, no way to hack the player to reload when the USB device is changed?

    If you can plug a USB button into it, why not a USB keyboard or USB mouse, particularly remote ones?
     
  22. maxxpower

    maxxpower OG Lauren Crew - Observer OT Supporter

    Joined:
    May 27, 2007
    Messages:
    26,348
    Likes Received:
    0
    No need to hack since I designed the player and its possible for it to look for a change in the usb device, but if I can get away with a 5$ button instead of writing/support another function it would be preffered.
    The player is generally network/time driven so this is a one off, if it was more than 50 seats then I would possibly write.

    A usb keyboard or mouse would work, but for aesthetic purposes, a single button mounted on the chassis would be preferred.
     
  23. maxxpower

    maxxpower OG Lauren Crew - Observer OT Supporter

    Joined:
    May 27, 2007
    Messages:
    26,348
    Likes Received:
    0
    I called the solution provider and after a conversation with them I wont need it. The displays will be updated once every 6 months so its probably best to recycle the OS at that time anyway. So, problem solved.
    Im still gonna keep at this though because I can offer a solution in the future with a button to trigger a network update if I can find an affordable hardware solution!
     
  24. Krakerjak

    Krakerjak Active Member

    Joined:
    Jul 7, 2003
    Messages:
    8,288
    Likes Received:
    0
    Location:
    Edmonton eh
  25. maxxpower

    maxxpower OG Lauren Crew - Observer OT Supporter

    Joined:
    May 27, 2007
    Messages:
    26,348
    Likes Received:
    0
    yes, i seen those, gonna pic one up next week and give it a try.
    thanks again guys for the help:)
     

Share This Page