From 15306244d400af1bdbddea63d2952c5aca733495 Mon Sep 17 00:00:00 2001 From: Ajax Date: Mon, 30 Apr 2018 01:59:24 -0400 Subject: [PATCH] Made the readme --- keyboards/dz60/keymaps/doogle999/keymap.c | 1 + users/doogle999/readme.md | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/keyboards/dz60/keymaps/doogle999/keymap.c b/keyboards/dz60/keymaps/doogle999/keymap.c index 33d0389484..8048a931c2 100644 --- a/keyboards/dz60/keymaps/doogle999/keymap.c +++ b/keyboards/dz60/keymaps/doogle999/keymap.c @@ -1,4 +1,5 @@ #include "dz60.h" + #include "users/doogle999/doogle999.h" #define ______ KC_NO diff --git a/users/doogle999/readme.md b/users/doogle999/readme.md index 4e460d1815..2934306cdf 100644 --- a/users/doogle999/readme.md +++ b/users/doogle999/readme.md @@ -1,8 +1,26 @@ Copyright 2018 @doogle999 +Overview +======== This folder is just for some calculator code for my keyboards. +Making Your Keyboard Into A Calculator +-------------------------------------- + +If you'd like to make your keyboard into a calculator, you can do it with this userspace (hopefully!) + +You can make a keymap for your keyboard of choice named doogle999 and then you can make it regularly. + +You should make one layer that is just the functionality for your calculator, so it just has the keys you need (numbers, symbols, some letters for functions). It should also have END_CALC and CALC somewhere. END_CALC gets you out of calculator mode, and CALC evaluates the calculation. + +On one of your other keymaps you should make a key that is TO(layer of calculator). This is how you will activate the calculator. You should also define the layer your calculator is on with the define CALC_LAYER in doogle999.h (this means that for all your keyboards, your calculator layer has to be the same layer). + +You can change what characters coorespond to what operators and functions and you can add more functions in doogle999.h and doogle999.c. + +You can look at my dz60 keymap doogle999 for an example. + + This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by