parent
8730e242e4
commit
a524bd21a6
@ -0,0 +1,7 @@
|
||||
name=Kaleidoscope-Hardware-GD32-Eval
|
||||
version=0.0.0
|
||||
sentence=GD32 Eval hardware support for Kaleidoscope
|
||||
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/gd32/Eval.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 ARDUINO_GD32F303ZE_EVAL
|
||||
|
||||
#include <Arduino.h>
|
||||
|
||||
#include "kaleidoscope/device/Base.h"
|
||||
|
||||
namespace kaleidoscope {
|
||||
namespace device {
|
||||
namespace gd32 {
|
||||
|
||||
struct EvalProps : kaleidoscope::device::BaseProps {
|
||||
static constexpr const char *short_name = "GD32Eval";
|
||||
};
|
||||
|
||||
class Eval: public kaleidoscope::device::Base<EvalProps> {};
|
||||
|
||||
#define PER_KEY_DATA(dflt, \
|
||||
R0C0, R0C1 \
|
||||
) \
|
||||
R0C0, R0C1
|
||||
|
||||
} // namespace gd32
|
||||
} // namespace device
|
||||
|
||||
EXPORT_DEVICE(kaleidoscope::device::gd32::Eval)
|
||||
|
||||
} // namespace kaleidoscope
|
||||
|
||||
#endif
|
Loading…
Reference in new issue