parent
9d9b16dc93
commit
c28eea03f3
@ -0,0 +1,7 @@
|
||||
name=Kaleidoscope-Hardware-STM32-Test
|
||||
version=0.0.0
|
||||
sentence=...
|
||||
maintainer=Kaleidoscope's Developers <jesse@keyboard.io>
|
||||
url=https://github.com/keyboardio/Kaleidoscope
|
||||
author=Keyboardio
|
||||
paragraph=
|
@ -0,0 +1,20 @@
|
||||
/* -*- mode: c++ -*-
|
||||
* Kaleidoscope - Firmware for computer input devices
|
||||
* Copyright (C) 2021 Keyboard.io, Inc.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify it under
|
||||
* the terms of the GNU General Public License as published by the Free Software
|
||||
* Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
* FOR A PARTICULAR PURPOSE. See the 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/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "kaleidoscope/device/stm32/Test.h"
|
@ -0,0 +1,31 @@
|
||||
/* -*- mode: c++ -*-
|
||||
* Kaleidoscope - Firmware for computer input devices
|
||||
* Copyright (C) 2021 Keyboard.io, Inc.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify it under
|
||||
* the terms of the GNU General Public License as published by the Free Software
|
||||
* Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
* FOR A PARTICULAR PURPOSE. See the 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/>.
|
||||
*/
|
||||
|
||||
#ifdef ARDUINO_GD32F303ZE_EVAL
|
||||
|
||||
#include "kaleidoscope/Runtime.h"
|
||||
#include "kaleidoscope/driver/keyscanner/Base_Impl.h"
|
||||
|
||||
namespace kaleidoscope {
|
||||
namespace device {
|
||||
namespace gd32 {
|
||||
|
||||
} // namespace gd32
|
||||
} // namespace device
|
||||
} // namespace kaleidoscope
|
||||
|
||||
#endif // ifdef ARDUINO_GD32F303ZE_EVAL
|
@ -0,0 +1,48 @@
|
||||
/* -*- mode: c++ -*-
|
||||
* Kaleidoscope - Firmware for computer input devices
|
||||
* Copyright (C) 2021 Keyboard.io, Inc.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify it under
|
||||
* the terms of the GNU General Public License as published by the Free Software
|
||||
* Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
* FOR A PARTICULAR PURPOSE. See the 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/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef KBIO_TEST
|
||||
|
||||
#include <Arduino.h>
|
||||
|
||||
#include "kaleidoscope/device/Base.h"
|
||||
|
||||
namespace kaleidoscope {
|
||||
namespace device {
|
||||
namespace stm32 {
|
||||
|
||||
struct TestProps: kaleidoscope::device::BaseProps {
|
||||
static constexpr const char *short_name = "KBIOTest";
|
||||
};
|
||||
|
||||
class Test: public kaleidoscope::device::Base<TestProps> {};
|
||||
|
||||
#define PER_KEY_DATA(dflt, \
|
||||
R0C0, R0C1 \
|
||||
) \
|
||||
R0C0, R0C1
|
||||
|
||||
} // namespace stm32
|
||||
} // namespace device
|
||||
|
||||
EXPORT_DEVICE(kaleidoscope::device::stm32::Test)
|
||||
|
||||
} // namespace kaleidoscope
|
||||
|
||||
#endif
|
Loading…
Reference in new issue