diff options
author | Jack Humbert <jack.humb@gmail.com> | 2017-10-21 11:44:11 -1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-21 11:44:11 -1000 |
commit | 06f196c589b3c8c70c6cda6e95db6d1a2bf6e80b (patch) | |
tree | a346452e61bf8047d18c9a6d4863cc4ac63a5717 /users/_example | |
parent | 9bb259b660925c7a5cd64b3a0a4484cdf757b504 (diff) | |
download | qmk_firmware-06f196c589b3c8c70c6cda6e95db6d1a2bf6e80b.tar.gz qmk_firmware-06f196c589b3c8c70c6cda6e95db6d1a2bf6e80b.zip |
Creates a userspace for keymaps (#1559)
* create a user space
* adds example
* document, add readme.md
* jackhumbert userspace, ergodox keymap
Diffstat (limited to 'users/_example')
-rw-r--r-- | users/_example/_example.c | 5 | ||||
-rw-r--r-- | users/_example/_example.h | 8 | ||||
-rw-r--r-- | users/_example/readme.md | 14 | ||||
-rw-r--r-- | users/_example/rules.mk | 1 |
4 files changed, 28 insertions, 0 deletions
diff --git a/users/_example/_example.c b/users/_example/_example.c new file mode 100644 index 000000000..8e0778b12 --- /dev/null +++ b/users/_example/_example.c | |||
@@ -0,0 +1,5 @@ | |||
1 | #include "_example.h" | ||
2 | |||
3 | void my_custom_function(void) { | ||
4 | |||
5 | } \ No newline at end of file | ||
diff --git a/users/_example/_example.h b/users/_example/_example.h new file mode 100644 index 000000000..f7c799025 --- /dev/null +++ b/users/_example/_example.h | |||
@@ -0,0 +1,8 @@ | |||
1 | #ifndef USERSPACE | ||
2 | #define USERSPACE | ||
3 | |||
4 | #include "quantum.h" | ||
5 | |||
6 | void my_custom_function(void); | ||
7 | |||
8 | #endif \ No newline at end of file | ||
diff --git a/users/_example/readme.md b/users/_example/readme.md new file mode 100644 index 000000000..fdea33b67 --- /dev/null +++ b/users/_example/readme.md | |||
@@ -0,0 +1,14 @@ | |||
1 | Copyright <year> <name> <email> @<github_username> | ||
2 | |||
3 | This program is free software: you can redistribute it and/or modify | ||
4 | it under the terms of the GNU General Public License as published by | ||
5 | the Free Software Foundation, either version 2 of the License, or | ||
6 | (at your option) any later version. | ||
7 | |||
8 | This program is distributed in the hope that it will be useful, | ||
9 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | GNU General Public License for more details. | ||
12 | |||
13 | You should have received a copy of the GNU General Public License | ||
14 | along with this program. If not, see <http://www.gnu.org/licenses/>. \ No newline at end of file | ||
diff --git a/users/_example/rules.mk b/users/_example/rules.mk new file mode 100644 index 000000000..250adc3d0 --- /dev/null +++ b/users/_example/rules.mk | |||
@@ -0,0 +1 @@ | |||
SRC += _example.c \ No newline at end of file | |||