BlueShadow<3 wrote: and attach a USB extension to it and have it work so that when pressed it would send CTRL + ALT + DEL to the pc which is the other end of my room.
Surely sending those keys in concert is not the only way to effect a shutdown. Programmatically other ways such as "shutdown now" might be better.
I don't want to involve a Pi if I can get away with it. I just want the button to send the restart command.
But how does the restart sequence get into your computer? The idea that you could program the guts of a USB keyboard that had a long enough cable and was attached to your machine as a secondary keyboard is perhaps one possible way.
Given the key combinations, you might be able to just lock the keys on somehow and then when you push the button, it brings the usb and keyboard interface up. You could test this by having someone hold the three keys down and then plugging in the keyboard. Does Arch reboot?
The next step would be to figure out how to wire this up without destroying your computer. How is the USB interface designed at start up, I mean for hot swap plug and play? Some systems have contacts that connect earlier, such as the ground connects first, then the power and finally the data and other lines. I don't know if that's true with USB, I can't see inside this flash drive. In looking at this sdcard and this micro sdcard, it is clear that the connectors are of different lengths. So if this matters, you wouldn't want to defeat these efforts in your design.
But I wouldn't do this because paying for a 30 foot USB cord will defeat your reason for not using the pi, if it's that you don't want to spend the $35. This is a perfect use case for the pi zero though, you'd find a USB bluetooth or wifi dongle and have a button and it sends out a signal to the arch box and reboots it using a script. Way cooler than dragging around the cord although you'd need batteries.