2020-01-31 04:37:23 +06:00
|
|
|
/* Copyright 2020 Yatara
|
|
|
|
*
|
|
|
|
* 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, either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* 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 "config_common.h"
|
|
|
|
|
|
|
|
/* USB Device descriptor parameter */
|
2021-08-11 13:19:55 +06:00
|
|
|
#define VENDOR_ID 0x5961 // "Ya" - Yatara
|
2020-01-31 04:37:23 +06:00
|
|
|
#define PRODUCT_ID 0x1470
|
|
|
|
#define DEVICE_VER 0x0001
|
|
|
|
#define MANUFACTURER Yatara
|
|
|
|
#define PRODUCT Drink Me
|
|
|
|
|
|
|
|
/* Key matrix size */
|
|
|
|
#define MATRIX_ROWS 1
|
|
|
|
#define MATRIX_COLS 4
|
|
|
|
|
|
|
|
/* Pinout */
|
|
|
|
#define DIRECT_PINS { \
|
|
|
|
{B4, B5, B6, B7} \
|
|
|
|
}
|
|
|
|
#define UNUSED_PINS
|