Coder Social home page Coder Social logo

0xyootou / macropad Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rayps/macropad

0.0 1.0 0.0 14.4 MB

Yet another MacroPad but remotely configurable/scriptable/executable over Wi-Fi

License: GNU Lesser General Public License v2.1

C 91.98% C++ 2.79% JavaScript 0.30% HTML 0.23% TypeScript 2.30% Vue 2.08% CSS 0.28% SCSS 0.05%

macropad's Introduction

โŒ˜

MacroPad

Yet another MacroPad but remotely configurable/scriptable/executable over Wi-Fi.
Most importantly, it uses much cheaper solutions than the other existing ones.

๐Ÿšง

Hardware

PCB

3D Printing Parts

There's 2 parts you can print

  • Body: The stand or case whatever you call it, shown in the picture above.
  • Spacer: To align the keys while soldering. This is optional.

3D Printing Parts (STL/AMF/FreeCAD)

It's recommended to place 4 Silicone Rubber Feet with diameter of 10mm underneath the body to prevent slipping.

Web Interface

http://macropad.local/

The web interface is a Vue.js application.

See /web for more information.

API

Method URL Description Done
GET /api/config read config โœ…
POST /api/config write config โœ…
DELETE /api/config delete config โœ…
GET /api/restart restart โœ…
GET /api/reset earase all settings โœ…

Build / Development

TODO: Add more information about development.

Clone this project

git clone [email protected]:RayPS/MacroPad.git

Open this project in PlatformIO

Update upload_port

Update monitor_port (optional, if you want to see debug messages from SoftwareSerial, otherwise remove this option)

Finally, upload to the board.

Web Interface Development

cd MacroPad/web

yarn install

yarn run dev to start web development or yarn run build to build the html PROGMEM for the firmware.

(After yarn run build, you can perform an upload in PlatformIO again)

Macro Script Proposal

Syntax Feature Done
# This is a comment
@ CTRL SHIFT CMD F1
$ Hello world!
! 1200
~ 50
+ WIN R
- WIN R
.
comment
shortcut
string
wait (ms)
interval (ms)
press key
release key
release all keys
โœ…
โœ…
โœ…
โœ…
โŒ
โœ…
โœ…
โœ…

Todo

  • Hardware
    • PCB
      • Use USB-C instead of Micro USB ๐Ÿ˜…
    • 3D Prints
      • Design the top case
      • Printable potentiometer cap, maybe
  • Software
    • Firmware
      • Decide the functionality for the potentiometer
      • Fix the SW0 (IO9) crash
      • Implementation of ~Interval, don't see any use case yet
    • Web Interface
      • Add a "usage/reference" page
      • Syntax highlighting. is this necessary?
      • Config saving guard (macro syntax validation)

Features Roadmap:

  • Remote execution (Already done but wont add to current version)
  • Multi-configs

macropad's People

Contributors

rayps avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.