|
123456789101112131415161718192021222324252627282930313233343536373839404142 |
- #ifndef INSTANTIATIONS_SCANCODENOTSHIFTED_H
- #define INSTANTIATIONS_SCANCODENOTSHIFTED_H
-
- /* This file instandiates Code_ScNS objects for multiple-layer keybrd sketches.
- The scancode is always sent in the unshifted state regardless of shift key position.
- Letters will still print as capital if CapsLck is on.
-
- If your uC is low on memory, copy needed lines rather than including the entire file.
- With the Arduino IDE, objects consume memory if they are used or not.
-
- The scancode macros are defined in the top part of
- Arduino\hardware\teensy\cores\teensy\keylayouts.h which is intended for use in "normal" programs.
- This has been tested on teensy2.0.
- */
- #include <Code_ScNS.h>
- #include <Code_ScNS_00.h>
-
- // ********** SCANCODES NOT SHIFTED *********
- Code_ScNS_00 sns_00; //double zero
-
- Code_ScNS sns_1(KEY_1); //could get similar effect with s_pad1
- Code_ScNS sns_2(KEY_2);
- Code_ScNS sns_3(KEY_3);
- Code_ScNS sns_4(KEY_4);
- Code_ScNS sns_5(KEY_5);
- Code_ScNS sns_6(KEY_6);
- Code_ScNS sns_7(KEY_7);
- Code_ScNS sns_8(KEY_8);
- Code_ScNS sns_9(KEY_9);
- Code_ScNS sns_0(KEY_0);
-
- Code_ScNS sns_minus(KEY_MINUS); //could get similar effect with s_padMinus
- Code_ScNS sns_equal(KEY_EQUAL);
- Code_ScNS sns_leftBracket(KEY_LEFT_BRACE); //[ ("brace" means curly bracket {})
- Code_ScNS sns_rightBracket(KEY_RIGHT_BRACE); //]
- Code_ScNS sns_backslash(KEY_BACKSLASH);
- Code_ScNS sns_semicolon(KEY_SEMICOLON);
- Code_ScNS sns_quote(KEY_QUOTE);
- Code_ScNS sns_tilde(KEY_TILDE);
- Code_ScNS sns_comma(KEY_COMMA);
- Code_ScNS sns_period(KEY_PERIOD);
- Code_ScNS sns_slash(KEY_SLASH);
|