]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/planck/keymaps/cbbrowne/readme.md
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
[qmk_firmware.git] / keyboards / planck / keymaps / cbbrowne / readme.md
1 cbbrowne custom keyboard
2 ==============================
3
4 Due to cbbrowne@acm.org
5 Christopher Browne
6
7 This was originally based on the default keyboard map, but I have been
8 doing sundry experimentation:
9
10 1. Useful Experiments
11 ----------------------------------------
12
13  * It made sense to mess around some with keyboard maps.
14    - I added a keypad, originally based on keymaps/numpad.c, but
15      mighty substantially revised, as that one seems to be rotated 90
16      degrees from usual conventions for number pads
17  * The keypad layer also includes some sample "hacks" of cool things,
18    all using actions attached in using the function action_get_macro()
19    - Key [1][2] aka "q" types out my name, cbbrowne, as a fun example
20      of a key generating a bunch of keystrokes.  The keystroke is
21      sufficiently inconvenient that it isn't terribly practical for me
22      to use it, but hey, it shows how others might use this facility
23      in a more useful context.
24    - Key [2][2] aka "a" uses a random number generator to select a digit 0-9 at random
25    - Key [3][2] aka "z" uses a random number generator to select a letter a-z at random
26    - Key [1][3] aka "e" spits out the keymap version number
27  * Minor use of Space Cadet Shift; my SHIFT key has switched to KC_LSP0, so that when I just hit SHIFT, I get a left parens: ( which is great for Lisping.  I don't have a Right Shift, so I don't get an autoclose; I think I'll live with that until a Planck successor with more lines of keys :-)
28
29 2. Some code structure ideas
30 ---------------------------------------------------
31
32    Each layer is given a name to aid in readability, which is then
33    used in the keymap matrix below.  The underscores do not denote
34    anything - you can have a layer called STUFF or any other name.
35
36    Layer names don't all need to be of the same length, obviously, and
37    you could also skip them entirely and just use numbers, though that
38    means needing to manage the numbers.
39
40    It is preferable to keep the symbols short so that a line worth of
41    key mappings fits compactly onto a line of code.  It might be an
42    interesting idea to express the maps rotated 90%, so that you
43    only need to fit 4 symbols onto each line, rather than 12.
44
45    I used enums to manage layer IDs and macro IDs so that I don't need
46    to care (beyond "start at 0", and arguably that's not needed) about
47    their values.
48
49 3. Things I did not like about the default mapping
50 ---------------------------------------------------------
51
52    * I found control too hard to get to.  I use it more than Tab, so
53      switched it there.
54    * Having dash on [lower-j] is a bit nonintuitive, but may be OK
55    * I switched ESC/TAB/M(0) around
56    * I'm suspicious that I want to shift M(0) from [4][1] to [4][2],
57      and shift ESC off the first column so KC_LCTL and KC_LALT can
58      be on the first column.
59    * I needed to swap ' and ENTER
60    * I tried added Workman alongside Dvorak and Colemak
61      - Boy, oh boy, these don't help!!!
62      - I have done 30 years of learning of Emacs key mappings, and
63        these alternative keyboards massively mess me up
64
65 4. TODO
66 ---------------------------------------------------------
67
68   * I use tmux quite a lot; the mollat keymap seems to have some
69     interesting helpers.  It might be interesting to add a "tmux
70     layer," or to have a few keys in a layer oriented towards that
71   * The mollat tmux layer also suggests some thoughts about Emacs
72     helpers.
73   * I do not presently have anything that handles X11 screen
74     switching, as with Control-Alt-various
75   * I ought to probably look into KC_LEAD, to have some key combos
76     that do not need to be concurrent
77   * The jeebak keymap seems to have some neat ideas:
78     - Number layer which is aggressive about having numbers in several places
79     - Touch layer seems interesting