Merge branch 'main' of github.com:zmkfirmware/zmk into main

This commit is contained in:
Pete Johanson 2020-10-02 23:17:55 -04:00
commit d3cd791769
6 changed files with 33 additions and 0 deletions

View file

@ -1,3 +1,8 @@
/*
* Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
#pragma once #pragma once

View file

@ -1,3 +1,9 @@
/*
* Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
#pragma once #pragma once
#define ZMK_MOCK_IS_PRESS(v) ((v & (0x01 << 31)) != 0) #define ZMK_MOCK_IS_PRESS(v) ((v & (0x01 << 31)) != 0)

View file

@ -1,3 +1,8 @@
/*
* Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
#define KT_ROW(item) (item >> 8) #define KT_ROW(item) (item >> 8)
#define KT_COL(item) (item & 0xFF) #define KT_COL(item) (item & 0xFF)

View file

@ -1,3 +1,8 @@
/*
* Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
#define RGB_TOG 0 #define RGB_TOG 0
#define RGB_HUI 1 #define RGB_HUI 1

View file

@ -1,3 +1,9 @@
/*
* Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
#pragma once #pragma once
int zmk_split_bt_position_pressed(u8_t position); int zmk_split_bt_position_pressed(u8_t position);

View file

@ -1,3 +1,9 @@
/*
* Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
#pragma once #pragma once
#include <bluetooth/uuid.h> #include <bluetooth/uuid.h>