summaryrefslogtreecommitdiffstats
path: root/keyboards/uno/uno.h
diff options
context:
space:
mode:
authorSpencer Peterson <spencerjp@google.com>2022-03-13 14:49:47 -0700
committerGitHub <noreply@github.com>2022-03-13 14:49:47 -0700
commit8fe3864fe7601a7e6572e7db680775edeff771ac (patch)
treef358dbc3b1b24ad1db27d8d586776354c56e4835 /keyboards/uno/uno.h
parent109c60feeb24081f6bcc78276d7426c5340f2822 (diff)
[Keyboard] Add "Uno" rev2 (#14071)
* [Keyboard] Add "Uno" rev2 Adds support for the second revision of Uno, courtesy of @Snipeye. * Update keyboards/uno/rev2/rules.mk * Update keyboards/uno/rev1/rules.mk * Update keyboards/uno/uno.h * Update keyboards/uno/rev2/rules.mk * Update keyboards/uno/rev1/rules.mk * Update keyboards/uno/keymaps/demo/keymap.c * Update keyboards/uno/keymaps/demo/keymap.c * Update keyboards/uno/keymaps/demo/keymap.c * Update keyboards/uno/rev2/rules.mk * Update keyboards/uno/rev1/rules.mk * Align rules.mk comments * Update keyboards/uno/info.json * Update keyboards/uno/rev1/config.h * Update keyboards/uno/rev2/config.h * Update keyboards/uno/rev2/config.h * Update keyboards/uno/rev2/config.h * Update keyboards/uno/rev1/config.h
Diffstat (limited to 'keyboards/uno/uno.h')
-rw-r--r--keyboards/uno/uno.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/keyboards/uno/uno.h b/keyboards/uno/uno.h
index 91d48d2ad5..bb3248e293 100644
--- a/keyboards/uno/uno.h
+++ b/keyboards/uno/uno.h
@@ -13,12 +13,13 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
#pragma once
#include "quantum.h"
-#define LAYOUT( \
- K00 \
-) { \
- { K00 } \
-}
+#if defined(KEYBOARD_uno_rev1)
+# include "rev1.h"
+#elif defined(KEYBOARD_uno_rev2)
+# include "rev2.h"
+#endif