Giter Site home page Giter Site logo

gudboinero / primedkeys Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 1.0 5.6 MB

A simple gui screen for point and click macros! Useful for people drawing on 2-in-1 laptops or if your computer pen doesn't work as intended.

License: MIT License

GDB 0.01% C++ 57.00% C 42.64% HTML 0.03% Objective-C 0.32%
imgui opengl sdl2 art-tool standalone-app

primedkeys's Introduction

Caution

This project has changed stacks. I'm no longer using this repository. The newer version of PrimedKeys is here.

What is PrimedKeys?

PrimedKeys will be an onscreen configurable hotkey menu with a preset style akin to Aseprite. I plan to make specific support for customization, because not only is it fun, why not make it a little artsy considering it's literally meant for artists.

Why?

It's a project I created from two problems I had.

  1. I wanted a way to use hotkeys on a touchscreen laptop without going into the rabbithole of configuring my HP Pen. Or buying another expensive accessory that I probably wouldn't use enough to be worth.
  2. The other alternatives did not work well for me, and stopped working or crashed.

In the end I had no other options, so I thought to myself,

"Hmmmm. I haven't really touched C++ before." - Me

Plus, I was introduced to Dear ImGui recently- And I really liked it! So I figured this would be a great opportunity to fix my issues, and learn a new skill!

In my journey of trying to find a software like this. I found RadialMenu and AutoHotPie. But in my super specific case it didn't work out. Something about my computer did not want to work with RadialMenu. Also, my HP Pen didn't want to work with AutoHotPie regardless of what I did. Overall I really liked how RadialMenu was a legitamate gui overlay with a top level window holding buttons that replicate keystrokes.

Setup

  1. Clone the repo. Ensure you're using Visual Studio 2022.
  2. Ensure you're on Release x86
  3. Check project settings and fix if needed.

    General/Platform Toolset -> Visual Studio 2022 (v143)

    General/C++ Language Standard -> ISO C++ 20 Standard (/std:c++20)

    Advanced/Whole Program Optimization -> Use Link Time Code Generation

    Advanced/Character Set -> Use Multi-Byte Character Set

    VC++ Directories/Include Directories -> lib\SDL2-2.28.3\include;src;include;$(IncludePath)

    VC++ Directories/Library Directories -> lib\SDL2-2.28.3\lib\x86;$(LibraryPath)

    Linker::Input/Addictional Dependencies -> opengl32.lib;gdi32.lib;imm32.lib;SDL2.lib;SDL2main.lib;%(AdditionalDependencies)

If you need any help compiling/starting the project DM me on Discord (GudBoiNero#6650) or open an issue.

Contribution Rules

  1. For changes you must use a separate branch.
  2. You may not push to master. You may only push to beta.
  3. Pull requests to main may only be from beta.
  4. When making pull requests make sure to state the purpose of your changes, unless the issue the change is derived from clearly explains it.
  5. Try to keep commit comments relevant. (Flexible)

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.