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

by HappyThingsMaker in Circuits > Arduino

5687 Views, 59 Favorites, 0 Comments

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

20180204_122625_capture.jpg
20180203_223159_capture.jpg
20180203_223258_capture.jpg
20180203_224824_capture.jpg

_

Supplies

Youtube Instruction

[HappyKeys] Instagram / Facebook Auto Scroller, Arduino Attiny85 Programmable Macro Key Instruction

_

Preparing Materials

1.jpg

[Instructions]

[About the Maker]

3D Printing Using 3d Modeling File

20180204_220248_capture.jpg

Download 3d model file from Thinggiverse

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

Printing

(Alternative: Buy from ETSY from the author)

Put a Switch Into Upper Case

2.jpg

_

Put an Attiny85 Board in the Upper Case

3.jpg

_

Bend Legs of Switch Toward the Attiny85 Board

4.jpg

_

Soldering

circuit.jpg

_

Cover It

6.jpg
7.jpg

_

Use Your Favorite Keycap

8.jpg
20180203_184121.jpg
20180203_184320.jpg
20180203_184411.jpg

_

​Download and Install Arduino IDE / Board Setting

Download a Library for USB Keyboard, USB Mouse, USB Media Control Simultaneously

9.jpg

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 a keyboard or mouse signal is good enough for the general situation. But sometimes, we need to use both keyboard and mouse together, such as gaming situations.

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

10.jpg

_

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

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.

Tweak It As Your Need

onekeyclose.gif
oneKeyAutoCheatkey.gif
oneKeyProducingTank2.gif
oneKeyScroll.gif
oneKeyProducingTank.gif
oneKeyProducingSVC.gif

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 my room, I had to close the game immediately, pretended to watch an “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 a 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 example https://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...