forked from qmk/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate some tmk_core files to quantum (qmk#11791)
* Migrate some tmk_core files to quantum * Fix build errors
- Loading branch information
Showing
14 changed files
with
22 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#pragma once | ||
|
||
#include "common/matrix.h" | ||
#include "matrix.h" | ||
|
||
#define ROWS_PER_HAND (MATRIX_ROWS/2) | ||
|
||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,31 +13,14 @@ GNU General Public License for more details. | |
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
Ported to QMK by Peter Roe <[email protected]> | ||
*/ | ||
#pragma once | ||
|
||
#ifndef LED_H | ||
#define LED_H | ||
#include <stdint.h> | ||
|
||
|
||
/* keyboard LEDs */ | ||
#define USB_LED_NUM_LOCK 0 | ||
#define USB_LED_CAPS_LOCK 1 | ||
#define USB_LED_SCROLL_LOCK 2 | ||
#define USB_LED_COMPOSE 3 | ||
#define USB_LED_KANA 4 | ||
|
||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
void led_set(uint8_t usb_led); | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
#include "bitwise.h" | ||
|
||
#endif | ||
// convert to L string | ||
#define LSTR(s) XLSTR(s) | ||
#define XLSTR(s) L## #s | ||
// convert to string | ||
#define STR(s) XSTR(s) | ||
#define XSTR(s) #s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters