Modding Keyboard with dual volume controls?

Discussion in 'Modding' started by mr.sam, 26 Nov 2006.

  1. mr.sam

    mr.sam What's a Dremel?

    Joined:
    26 Nov 2006
    Posts:
    4
    Likes Received:
    0
    Hello all,

    I am building a PC that looks like an old style car radio with the two rotary controls on the side. Something kind of like this
    [​IMG]
    I want one to control Winamp volume and the other to control scrolling maybe?
    I was wondering if there was a keyboard like this but with two volume controls instead of just one. [​IMG]

    If not I guess I could use two of those Shuttle/Jog wheels instead but I don't know if the feel is right about them.

    Or, I was thinking I could build my own from scratch using rotary encoders that way I could also put in the on/off switch with a press of the volume or whatever else I could think of. BUT I don't don't know much about interfacing this to the PC.

    Any help/suggestions would be greatly appreciated. Thanks!
     
  2. Springs

    Springs Boing boing

    Joined:
    29 Aug 2004
    Posts:
    2,065
    Likes Received:
    2
    there is a guide around on bit tech that is about how to make a control box for winamp but that involves push switches.. it might help you a bit.. depends if you can make a switch between the rotary and push switch..
     
  3. GuardianStorm

    GuardianStorm Minimodder

    Joined:
    26 Apr 2005
    Posts:
    1,475
    Likes Received:
    1
    well, use a volume control for one (as you said) and for the other, attach a mouse's scroll wheel to. there is a guide somewhere on bit about how to do this.
     
  4. mr.sam

    mr.sam What's a Dremel?

    Joined:
    26 Nov 2006
    Posts:
    4
    Likes Received:
    0
    Thanks guys. Guardian, I think that would be the easiest way. I will look into the mouse thing.

    One more questions then does anybody know how to change the standby button on the HP keyboards to shut down instead of standby? That button is not accessible in the control panel options for the keyboard.

    Thanks again.
     
  5. mr.sam

    mr.sam What's a Dremel?

    Joined:
    26 Nov 2006
    Posts:
    4
    Likes Received:
    0
    Okay, I've figured out that I can make a batch file to the WINXP shutdown.exe. I just don't know exactly how to get it to work. Right now I have:

    @ECHO OFF
    set path=%windir%/System32
    SHUTDOWN -s
    exit
    @ECHO ON

    It's not working, I just need it to run the command 'SHUTDOWN -s' anybody know how to make .bat files?
     
  6. Lazlow

    Lazlow I have a dremel.

    Joined:
    8 Aug 2003
    Posts:
    1,464
    Likes Received:
    0
    I've got the following to restart my fileserver:
    Code:
    %windir%\system32\shutdown.exe /m \\fileserver /r /t 10 /c "Daily Restart"
    So off the top of my head, you'd want:
    Code:
    %windir%\system32\shutdown.exe /m \\computername /s /t 10 /c "Shutdown"
    I've got the message at the end, as Server 2003 uses it for the log file. That's all you'd need in the batch file, eliminates the need for echo etc.

    EDIT: Just tried it and it works fine for me - change \\computername to be the name of your PC.
     
  7. AJB2K3

    AJB2K3 What's a Dremel?

    Joined:
    12 Dec 2005
    Posts:
    1,605
    Likes Received:
    4
    Create a text file with notepad,
    Goto "SAVE AS"
    in the "save as file type" box select "ALL FILES"
    then name the file shutdwn.bat
    You should find a file called shutdwn.bat if you got shutdwn.bat.txt you didnt selet ALL FILES
    WHY shutdwn.bat ? not shut down?
    Its the old 7.3 format and will be easer to run.
    Ive been getting issue with command so have returned to the 7.3 format for console commands.
     
  8. mr.sam

    mr.sam What's a Dremel?

    Joined:
    26 Nov 2006
    Posts:
    4
    Likes Received:
    0
    Thanks! Got it working now!
     

Share This Page