• Models
  • Contests
  • Slicer
  • Login
  • Start Here
    thingiverse-iconprintables-iconcults3d-iconmakerworld-iconmyminifactory-icon

    3D GO

    3D ModelsContestsCollectionsSaved ModelsOn a mobile device?

3D GO

Privacy Policy
Emergency Alt-F4 Button 3D Printer File Image 1
Emergency Alt-F4 Button 3D Printer File Image 2
Emergency Alt-F4 Button 3D Printer File Image 3
Emergency Alt-F4 Button 3D Printer File Image 4
Emergency Alt-F4 Button 3D Printer File Image 5
Emergency Alt-F4 Button 3D Printer File Thumbnail 1
Emergency Alt-F4 Button 3D Printer File Thumbnail 2
Emergency Alt-F4 Button 3D Printer File Thumbnail 3
Emergency Alt-F4 Button 3D Printer File Thumbnail 4
Emergency Alt-F4 Button 3D Printer File Thumbnail 5

Emergency Alt-F4 Button

Waschtl avatarWaschtl

April 4, 2025

printables-icon
DescriptionCommentsTags

Description

This is my Alt-F4 Emergency button! It uses an Arduino Micro and a Cherry-MX style keyboard switch so you no longer have to press two buttons to rage-quit. If the button is held for 10 seconds, it triggers a Windows shutdown.

I included the Fusion360, and the STEP file, so you can modify the parts to your specific hardware.

 

BOM:

  • Arduino Micro with USB-C
  • Cherry-MX style keyswitch
  • Printed parts

 

Printing instructions:

No fancy settings needed. I printed the enclosure in PLA on my Prusa MINI

The Button cap with coloured letters was printed on an X1C.

 

Assembly:

For easier assembly, I soldered right angle pin headers to PIN 7 & 8 of the Arduino. (8 acts as GND) And the corresponding female pins to the wires on the switch. I recommend you do a less terrible solder job than i have.

The Arduino slides into the bottom-part. I recommend to slightly deburr the edges of the PCB to get a snug fit.

The Keyswitch can just click into the top-part

Snap on the top housing - It can take a little force to make it fit flush. 

Finally, put the button cap on.

 

Code:

The code is a simple Arduino sketch.

At the very top you can customize the shutdown command:

It is programmed to press Win-R first, then insert the shutdown command. Not sure how that would work on Linux or MacOS. Feel free to edit the code to your liking.

If you hold the button while plugging in, it enables Serial-output for easy debugging.

License:

Creative Commons — Attribution — Share Alike

Related Models

bakercube preview image

bakercube

iomaa profile image

iomaa

44,419

Book Page Holder V3 preview image

Book Page Holder V3

fifindr profile image

fifindr

3,476

Customizable Spotify Keychain / Tag preview image

Customizable Spotify Keychain / Tag

ewt profile image

ewt

2,966

Bottle Opener and Cap GUN! preview image

Bottle Opener and Cap GUN!

3Deddy profile image

3Deddy

43,966

Funnel Tray preview image

Funnel Tray

fifindr profile image

fifindr

3,513

Aldi Cart keychain preview image

Aldi Cart keychain

Nexus profile image

Nexus

1,070

Mini Tape Gun - Tape Dispenser preview image

Mini Tape Gun - Tape Dispenser

brycelowe profile image

brycelowe

23,747

Drill Paint Mixer preview image

Drill Paint Mixer

fifindr profile image

fifindr

2,398