Modding Buttons/switches to activate a software program?

Discussion in 'Modding' started by PrnkstrO, 9 Jul 2003.

  1. PrnkstrO

    PrnkstrO What's a Dremel?

    Joined:
    31 Jan 2003
    Posts:
    39
    Likes Received:
    0
    Is it possible to make a switch or button of some sort ( kind of like the buttons you would find on the top of an internet keyboard or remote ) that when pressed or switched would activate a program? For example a button on the front of my pc that would start up winamp. If its possible how would I go about doing this?
     
  2. Smilodon

    Smilodon The Antagonist

    Joined:
    25 Mar 2003
    Posts:
    6,244
    Likes Received:
    102
    if you want winamp only you could always check out this one:

    http://diba.by.ru/comctrl/index.html

    it's a wired remote for winamp... you can set it to open winamp when you press one of the buttons...
     
  3. PrnkstrO

    PrnkstrO What's a Dremel?

    Joined:
    31 Jan 2003
    Posts:
    39
    Likes Received:
    0
    I was just using winamp as an example. I want the butons to do other things. It would kind of be nice if I could just program the buttons like you can do on the keyboards.
     
  4. fishthecat

    fishthecat What's a Dremel?

    Joined:
    6 Mar 2002
    Posts:
    296
    Likes Received:
    0
    I recently used that plugin on my HTPC. It's a really slick and pro looking piece of software. I had trouble getting to that site though, so I just downloaded it off winamp.com.
     
  5. Smilodon

    Smilodon The Antagonist

    Joined:
    25 Mar 2003
    Posts:
    6,244
    Likes Received:
    102
    i have tested it myself for a few days... looks really cool... going to make a 15 button panel.. but i need to get parts first... anyway.. me neither could download from the page... got it from winamp.com aswell..
     
  6. djgizmo

    djgizmo 1337 pimp

    Joined:
    26 Mar 2002
    Posts:
    1,225
    Likes Received:
    0
    right click on desktop shortcut>properties>click on area labeled "shortcut key"> press some key on the numpad or to the right of/ ontop of it(excluding padenter or DEL)...
     
    Last edited: 10 Jul 2003
  7. PrnkstrO

    PrnkstrO What's a Dremel?

    Joined:
    31 Jan 2003
    Posts:
    39
    Likes Received:
    0
    is there anything that I could use that would start up other programs besides winamp?
     
  8. loply

    loply What's a Dremel?

    Joined:
    26 Dec 2002
    Posts:
    566
    Likes Received:
    0
    You could use the parallel port for this, I wrote an app for Linux and had 4 push-to-make switches on the parport which triggered shell scripts for me, but I never made any kind of case for the buttons...

    Its pretty simple but if youve got no idea where to start it will take a bit of research etc - plus youll need to know how to write a few lines of VB/Delphi/C wahtever.
     
  9. PrnkstrO

    PrnkstrO What's a Dremel?

    Joined:
    31 Jan 2003
    Posts:
    39
    Likes Received:
    0
    Do you know where I could find the info I would need to do this? Ive looked around but come up with nothing useful.
     
  10. malcs

    malcs oops! i put a hole in the ***** :(

    Joined:
    24 May 2003
    Posts:
    1,842
    Likes Received:
    1
    you could make ur own USB device with driver :D
     
  11. PrnkstrO

    PrnkstrO What's a Dremel?

    Joined:
    31 Jan 2003
    Posts:
    39
    Likes Received:
    0
    Im looking for something that is simple to make. I dont know anything about writing drivers, so thats pretty much out of the question. So far the parallel port idea seems like the best one, just need more info on it.

    loply - could you send me the script you wrote to control this?
     
    Last edited: 10 Jul 2003
  12. Jivecat

    Jivecat What's a Dremel?

    Joined:
    26 Feb 2003
    Posts:
    79
    Likes Received:
    0
    Check out Girder.

    It 'listens' for keypresses from a variety of devices (keyboard,ir,etc.). It is pretty much limitless in terms of what devices it can accept keypresses from as it has a great plugin architecture.

    I use it on my HTPC in conjunction with an ATI Remote Wonder (rf remote control) as an awsome universal remote. I can control all my programs with one remote! (winamp, WMP, quicktime, TV, etc.)

    Good stuff. It takes some time to learn it, but stick with it because it's really powerful.
     
  13. PrnkstrO

    PrnkstrO What's a Dremel?

    Joined:
    31 Jan 2003
    Posts:
    39
    Likes Received:
    0
    Wow thats just what I was looking for!

    There is a plugin that allows grider to work with a serial port. In the plugin download there is a very simple schematic that does exactly what I want to do. Thanks a lot for the help everyone!
     
  14. apoogod

    apoogod trix arent just for kids

    Joined:
    19 Jun 2002
    Posts:
    1,031
    Likes Received:
    0
  15. PrnkstrO

    PrnkstrO What's a Dremel?

    Joined:
    31 Jan 2003
    Posts:
    39
    Likes Received:
    0
    Well the search is on again. Seems like the devs for the serial port plugin for girder are having problems getting the serial port switches to work correctly. So if anyone has any other suggestions Im open to them...
     
  16. Dad

    Dad You talkin to me?

    Joined:
    15 Apr 2003
    Posts:
    5,375
    Likes Received:
    8
    Think arcade emulator cabinets that run MAME. Last summer I built one to play arcade ROMs using a keyboard encoder ripped out of a cheap keyboard. If you use a ps/2 keyboard as your "regular" keyboard, you can split your keyboard port for both your keyboard and your buttons or if you use a usb keyboard as your "regular" keyboard, just plug your app launching thing into your ps/2 port. Either way it works perfectly fine. You can wire up your buttons so that a single button push will make the computer see a key sequence like ctrl/alt/Y or whatever which all you need to do is to create some macros within Windows to recognize what you want the system to do.

    I know that my explination is probably pretty confusing, so check out the site below, it has a TON of information about keyboard hacking...

    http://www.arcadecontrols.com/arcade.htm
     
  17. loply

    loply What's a Dremel?

    Joined:
    26 Dec 2002
    Posts:
    566
    Likes Received:
    0
    Just a thought - can you not use a second keyboard (but hack it up so that its just got a few buttons)?

    You can plug two keyboards into one motherboard via a Y-Splitter...

    if the number of keys you need is not too many you could just use this method - although it means that pressing them on the normal keyboard would also launch the program (so youd have to use like scroll-lock and stuff not real letters)
     
  18. Meblin

    Meblin Supposed IR God!

    Joined:
    5 Mar 2002
    Posts:
    1,018
    Likes Received:
    0
    You could always use an Infrared remote and Receiver unit (look here) :naughty:

    Meblin
     
  19. PrnkstrO

    PrnkstrO What's a Dremel?

    Joined:
    31 Jan 2003
    Posts:
    39
    Likes Received:
    0
    Ok never mind my last post. I finally got the serial switches to work! Turns out I need 2 plugins to make girder react right to the switches.
     
  20. 1398342003

    1398342003 Ubermodder

    Joined:
    2 Sep 2002
    Posts:
    960
    Likes Received:
    1
    How do you make drivers?
     

Share This Page