Skip to content

Commit

Permalink
[qmk#6]
Browse files Browse the repository at this point in the history
* modified files:

    * gherkin/config.h,
        * backlight_breathing added,

    * gherkin/gherkin.h,
        * defining LAYOUT_ortho_3x10 with the layout upside down,
           * This is for having miniUSB port to the left,
           * As in the original position designed for the Gherkin by di0ib.

    * gherkin/keymaps/30_layout/keymap.c,
        * syntax bugs polished, now code runs !
        * but there’s an issue with *SYMB and *NMBR, they seem to have a mutilate layout:

          [SYMB]:
          ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
             ⁉️      ~      ⁉️      _       %                   \     (      )      *      /
             '      @      +      ⁉️       $                   |     {      }      :      ⁉️
             !      ?      <      >       #                   &     ⁉️      ⁉️      ,      .
          ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

          [NMBR]:
          ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
             1      2      3      4       5                   6     7      8      9      0
             ⎵      ⌦      0      =       $                   -     4      5      6      +
             ⏎      ⁉️      ⁉️      ,       .                   /     1      2      3      *
          ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
  • Loading branch information
manolodeinternet committed Feb 9, 2019
1 parent c902abd commit c94ad8e
Show file tree
Hide file tree
Showing 3 changed files with 254 additions and 155 deletions.
26 changes: 25 additions & 1 deletion keyboards/40percentclub/gherkin/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,33 @@
/* number of backlight levels */
#define BACKLIGHT_PIN B5
#ifdef BACKLIGHT_PIN
#define BACKLIGHT_LEVELS 3
#define BACKLIGHT_LEVELS 15
#endif





///// 🌝✨🌝✨🌝✨🌝✨🌝✨🌝✨🌝✨🌝✨🌝✨🌝✨///// 🌝✨🌝✨🌝✨🌝✨🌝✨🌝✨🌝✨🌝✨🌝✨🌝✨///// 🌝✨🌝✨🌝✨🌝✨🌝✨🌝✨🌝✨🌝✨🌝✨🌝✨
//MINE BECAUSE IT DOESN'T COMPILE//MINE BECAUSE IT DOESN'T COMPILE//MINE BECAUSE IT DOESN'T COMPILE//MINE BECAUSE IT DOESN'T COMPILE
//MINE BECAUSE IT DOESN'T COMPILE//MINE BECAUSE IT DOESN'T COMPILE//MINE BECAUSE IT DOESN'T COMPILE//MINE BECAUSE IT DOESN'T COMPILE
#define BACKLIGHT_BREATHING //MINE I had to write this line because compiling, backlight_toggle() wasn't recognized
#ifndef BREATHING_PERIOD
#define BREATHING_PERIOD 15 //MINE I had to write this line because compiling, breathing_period wasn't recognized
#endif
//MINE BECAUSE IT DOESN'T COMPILE//MINE BECAUSE IT DOESN'T COMPILE//MINE BECAUSE IT DOESN'T COMPILE//MINE BECAUSE IT DOESN'T COMPILE
//MINE BECAUSE IT DOESN'T COMPILE//MINE BECAUSE IT DOESN'T COMPILE//MINE BECAUSE IT DOESN'T COMPILE//MINE BECAUSE IT DOESN'T COMPILE
///// 🌝✨🌝✨🌝✨🌝✨🌝✨🌝✨🌝✨🌝✨🌝✨🌝✨///// 🌝✨🌝✨🌝✨🌝✨🌝✨🌝✨🌝✨🌝✨🌝✨🌝✨///// 🌝✨🌝✨🌝✨🌝✨🌝✨🌝✨🌝✨🌝✨🌝✨🌝✨










/* Set 0 if debouncing isn't needed */
#define DEBOUNCING_DELAY 5

Expand Down
20 changes: 17 additions & 3 deletions keyboards/40percentclub/gherkin/gherkin.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,27 @@
#include "quantum.h"

#define LAYOUT_ortho_3x10( \
K00, K01, K02, K03, K04, K05, K10, K11, K12, K13 , \
K14, K15, K20, K21, K22, K23, K24, K25, K30, K31 , \
K32, K33, K34, K35, K40, K41, K42, K43, K44, K45 \
K45, K44, K43, K42, K41, K40, K35, K34, K33, K32 , \
K31, K30, K25, K24, K23, K22, K21, K20, K15, K14 , \
K13, K12, K11, K10, K05, K04, K03, K02, K01, K00 \
) { \
{ K00, K01, K02, K03, K04, K05 }, \
{ K10, K11, K12, K13, K14, K15 }, \
{ K20, K21, K22, K23, K24, K25 }, \
{ K30, K31, K32, K33, K34, K35 }, \
{ K40, K41, K42, K43, K44, K45 } \
}



/* This is for having miniUSB port to the right
K00, K01, K02, K03, K04, K05, K10, K11, K12, K13 , \
K14, K15, K20, K21, K22, K23, K24, K25, K30, K31 , \
K32, K33, K34, K35, K40, K41, K42, K43, K44, K45 \
And this is for having miniUSB port to the left,
the original position designed for the Gherkin by di0ib.
K45, K44, K43, K42, K41, K40, K35, K34, K33, K32 , \
K31, K30, K25, K24, K23, K22, K21, K20, K15, K14 , \
K13, K12, K11, K10, K05, K04, K03, K02, K01, K00 \
*/
Loading

0 comments on commit c94ad8e

Please sign in to comment.