Macro Key : HappyKeys : How to Make a Custom One Key (game, SNS, ETC)

1,146

35

1

Posted

Introduction: Macro Key : HappyKeys : How to Make a Custom One Key (game, SNS, ETC)

_

Step 1: Youtube Instruction

_

Step 2: Preparing Materials

------------------------------------ Parts ---------------------------------

Attiny85 http://ebay.to/2sL3T3s

Cherry Key Switch http://ebay.to/2olOx0F

Keycap http://ebay.to/2FrqkgP

Blu-Tack Reusable Adhesive http://ebay.to/2Fou8zi

Micro USB cable http://ebay.to/2EWtETx

------------------------------------ Tools ---------------------------------

Hot melt glue gun http://ebay.to/2sKDKSs

Filament for 3d print (PLA 1.75mm) http://ebay.to/2sIp6v7

Soldering Tools http://ebay.to/2Gw6Qae

3D printer (P802MA) http://ebay.to/2CEQtWv

------------------------------------ Instruction --------------------------

Source Code https://github.com/happythingsmaker/HappyKeys

3D model file (for 3d printer) https://www.thingiverse.com/thing:2777861

Manual https://sites.google.com/view/100happythings/12-h...

Instructables https://www.instructables.com/id/Macro-Key-HappyK...

------------------------------------ About the Maker ---------------------------------

Instagram: https://www.instagram.com/happythingsmaker/

Facebook: https://www.facebook.com/happyThingsMaker/

Blog : http://happyThingsMaker.com

Step 3: 3D Printing Using 3d Modeling File

Download 3d model file from Thinggiverse

https://www.thingiverse.com/thing:2777861

Printing

(Alternative: Buy from ETSY from the author)

Step 4: Put a Switch Into Upper Case

_

Step 5: Put an Attiny85 Board in the Upper Case

_

Step 6: Bend Legs of Switch Toward the Attiny85 Board

_

Step 7: Soldering

_

Step 8: Cover It

_

Step 9: Use Your Favorite Keycap

_

Step 10: ​Download and Install Arduino IDE / Board Setting

Step 11: Download a Library for USB Keyboard, USB Mouse, USB Media Control Simultaneously

https://learn.adafruit.com/trinket-usb-volume-knob...

Because the library from Digispark is not enough to use. The main issue is we can’t send a keyboard signal and a mouse signal at the same time. Sending only keyboard or mouse signal is good enough for general situation. But sometimes, we need to use both keyboard and mouse together such as gaming situation.

Step 12: Unzip the File and Copy “TrinketHidCombo” Folder Into Your Arduino Library Folder

_

Step 13: ​Open Your Arduino IDE, Copy and Paste Here's Code

Step 14: Upload the Program to Your Board by Following This Order

Unplug the board

Click upload button of Arduino IDE

Wait until “Running Digispark Uploader … “ shows

Plug your board

Done.

Notice : In order to upload program to Attiny85 board, you don’t need to select any port. Unplug your board.

Step 15: Tweak It As Your Need

Facebook / Instagram auto scroller

Source Code : https://github.com/happythingsmaker/HappyKeys/tre...

Emergency Switch

MUTE and CLOSE a video player immediately just in case (Emergency Exit)
When I was young, I would play a game often. Every time my mother suddenly enter into my room, I had to close the game immediately, pretended to watching a “Educational Program”. Sometimes I failed. Back then, I wished I could make this switch

https://github.com/happythingsmaker/HappyKeys/tree...

Game macro example

My favorite game is starcraft. I am not good at macro control. For particular, manufacturing labor unit (SCV, Prove or Drone) or military unit such as tanks, marines. I made a macro key for this purpose. (note: only for single play)

Produce labor unit https://github.com/happythingsmaker/HappyKeys/blob...

Produce units from manufacture building https://github.com/happythingsmaker/HappyKeys/tree...

Typing “cheat keys” https://github.com/happythingsmaker/HappyKeys/blob...

Letter examplehttps://github.com/happythingsmaker/HappyKeys/blob...

Shortcut key

Arduino auto format (Ctrl + T) https://github.com/happythingsmaker/HappyKeys/blob...

Save button (Ctrl + S) https://github.com/happythingsmaker/HappyKeys/tree...

Share

Recommendations

  • Epilog Challenge 9

    Epilog Challenge 9
  • Gluten Free Challenge

    Gluten Free Challenge
  • First Time Author Contest 2018

    First Time Author Contest 2018
user

We have a be nice policy.
Please be positive and constructive.

Tips

Questions

Comments