Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
23e942ae4e | ||
|
|
c077300e19 | ||
|
|
11f12d386b | ||
|
|
4d76d85d7b | ||
|
|
981ea87b05 | ||
|
|
65252ebf67 | ||
|
|
5bd0a5a585 |
No files matched your search
@@ -61,6 +61,57 @@ This file is used by the [QMK API](https://github.com/qmk/qmk_api). It contains
|
|||||||
|
|
||||||
All projects need to have a `config.h` file that sets things like the matrix size, product name, USB VID/PID, description and other settings. In general, use this file to set essential information and defaults for your keyboard that will always work.
|
All projects need to have a `config.h` file that sets things like the matrix size, product name, USB VID/PID, description and other settings. In general, use this file to set essential information and defaults for your keyboard that will always work.
|
||||||
|
|
||||||
|
The `config.h` files can also be placed in sub-folders, and the order in which they are read is as follows:
|
||||||
|
|
||||||
|
* `keyboards/top_folder/config.h`
|
||||||
|
* `keyboards/top_folder/sub_1/config.h`
|
||||||
|
* `keyboards/top_folder/sub_1/sub_2/config.h`
|
||||||
|
* `keyboards/top_folder/sub_1/sub_2/sub_3/config.h`
|
||||||
|
* `keyboards/top_folder/sub_1/sub_2/sub_3/sub_4/config.h`
|
||||||
|
* `users/a_user_folder/config.h`
|
||||||
|
* `keyboards/top_folder/keymaps/a_keymap/config.h`
|
||||||
|
* `keyboards/top_folder/sub_1/sub_2/sub_3/sub_4/post_config.h`
|
||||||
|
* `keyboards/top_folder/sub_1/sub_2/sub_3/post_config.h`
|
||||||
|
* `keyboards/top_folder/sub_1/sub_2/post_config.h`
|
||||||
|
* `keyboards/top_folder/sub_1/post_config.h`
|
||||||
|
* `keyboards/top_folder/post_config.h`
|
||||||
|
|
||||||
|
The `post_config.h` file can be used for additional post-processing, depending on what is specified in the `config.h` file. For example, if you define the `IOS_DEVICE_ENABLE` macro in your keymap-level `config.h` file as follows, you can configure more detailed settings accordingly in the `post_config.h` file:
|
||||||
|
|
||||||
|
* `keyboards/top_folder/keymaps/a_keymap/config.h`
|
||||||
|
```c
|
||||||
|
#define IOS_DEVICE_ENABLE
|
||||||
|
```
|
||||||
|
* `keyboards/top_folder/post_config.h`
|
||||||
|
```c
|
||||||
|
#ifndef IOS_DEVICE_ENABLE
|
||||||
|
// USB_MAX_POWER_CONSUMPTION value for this keyboard
|
||||||
|
#define USB_MAX_POWER_CONSUMPTION 400
|
||||||
|
#else
|
||||||
|
// fix iPhone and iPad power adapter issue
|
||||||
|
// iOS device need lessthan 100
|
||||||
|
#define USB_MAX_POWER_CONSUMPTION 100
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef RGBLIGHT_ENABLE
|
||||||
|
#ifndef IOS_DEVICE_ENABLE
|
||||||
|
#define RGBLIGHT_LIMIT_VAL 200
|
||||||
|
#define RGBLIGHT_VAL_STEP 17
|
||||||
|
#else
|
||||||
|
#define RGBLIGHT_LIMIT_VAL 35
|
||||||
|
#define RGBLIGHT_VAL_STEP 4
|
||||||
|
#endif
|
||||||
|
#ifndef RGBLIGHT_HUE_STEP
|
||||||
|
#define RGBLIGHT_HUE_STEP 10
|
||||||
|
#endif
|
||||||
|
#ifndef RGBLIGHT_SAT_STEP
|
||||||
|
#define RGBLIGHT_SAT_STEP 17
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
```
|
||||||
|
|
||||||
|
?> If you define options using `post_config.h` as in the above example, you should not define the same options in the keyboard- or user-level `config.h`.
|
||||||
|
|
||||||
### `rules.mk`
|
### `rules.mk`
|
||||||
|
|
||||||
The presence of this file means that the folder is a keyboard target and can be used in `make` commands. This is where you setup the build environment for your keyboard and configure the default set of features.
|
The presence of this file means that the folder is a keyboard target and can be used in `make` commands. This is where you setup the build environment for your keyboard and configure the default set of features.
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ After opening a new MSYS2 MinGW 64-bit terminal, make sure `pacman` is up to dat
|
|||||||
|
|
||||||
You may be asked to close and reopen the window. Do this and keep running the above command until it says `there is nothing to do`. Then run the following:
|
You may be asked to close and reopen the window. Do this and keep running the above command until it says `there is nothing to do`. Then run the following:
|
||||||
|
|
||||||
pacman -S git python3-pip
|
pacman -S git mingw-w64-x86_64-toolchain mingw-w64-x86_64-python3-pip
|
||||||
python3 -m pip install qmk
|
python3 -m pip install qmk
|
||||||
|
|
||||||
### macOS
|
### macOS
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define PRODUCT_ID 0x422D
|
#define PRODUCT_ID 0x422D
|
||||||
#define DEVICE_VER 0x0200
|
#define DEVICE_VER 0x0200
|
||||||
#define MANUFACTURER LSJ
|
#define MANUFACTURER LSJ
|
||||||
#define PRODUCT QMK Firmware for Ares
|
#define PRODUCT Ares
|
||||||
|
|
||||||
#define RGBLED_NUM 16
|
#define RGBLED_NUM 16
|
||||||
|
|
||||||
|
|||||||
@@ -231,31 +231,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'L', 'S', 'J'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 3
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'A', 'r', 'e', 's'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 4
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -337,11 +312,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define VENDOR_ID 0x20A0
|
#define VENDOR_ID 0x20A0
|
||||||
#define PRODUCT_ID 0x422D
|
#define PRODUCT_ID 0x422D
|
||||||
#define DEVICE_VER 0x0200
|
#define DEVICE_VER 0x0200
|
||||||
#define MANUFACTURER NotActuallyWinkeyless
|
#define MANUFACTURER NotWinkeyless
|
||||||
#define PRODUCT b.fake
|
#define PRODUCT B.fake
|
||||||
|
|
||||||
#define RGBLED_NUM 16
|
#define RGBLED_NUM 16
|
||||||
|
|
||||||
|
|||||||
@@ -231,31 +231,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 13
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'p', 's', '2', 'a', 'v', 'r', 'G', 'B'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 8
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -337,11 +312,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -0,0 +1,37 @@
|
|||||||
|
/* Copyright 2019
|
||||||
|
*
|
||||||
|
* 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/>.
|
||||||
|
*/
|
||||||
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
|
enum layers {
|
||||||
|
_BASE = 0,
|
||||||
|
_FN1,
|
||||||
|
};
|
||||||
|
|
||||||
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
|
[_BASE] = LAYOUT_ortho_4x4(
|
||||||
|
KC_P7, KC_P8, KC_P9, KC_PMNS,
|
||||||
|
KC_P4, KC_P5, KC_P6, KC_PPLS,
|
||||||
|
KC_P1, KC_P2, KC_P3, KC_PENT,
|
||||||
|
KC_P0, KC_PDOT, KC_SPC, MO(_FN1)
|
||||||
|
),
|
||||||
|
[_FN1] = LAYOUT_ortho_4x4(
|
||||||
|
RESET, KC_PAST, KC_PSLS, _______,
|
||||||
|
BL_TOGG, BL_DEC, BL_INC, BL_STEP,
|
||||||
|
RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD,
|
||||||
|
RGB_SAI, RGB_SAD, _______, _______
|
||||||
|
)
|
||||||
|
};
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
# A factory-like keymap for the bm16a
|
||||||
|
|
||||||
|
This keymap recreates the stock layout this keypad ships with. Use it if you want to return to stock, but with QMK.
|
||||||
|
|
||||||
@@ -231,31 +231,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'K','a','g','i','z','a','r','a','y','a'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 10
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'C', 'h', 'i', 'd', 'o', 'r', 'i'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 7
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -337,11 +312,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -231,31 +231,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'c','o','s','e','y','f','a','n','n','i','t','u','t','t','i'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 15
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'D','I','S','C','I','P','A','D'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 8
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_SERIAL_NUMBER '0'
|
|
||||||
#define USB_CFG_SERIAL_NUMBER_LEN 1
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -337,11 +312,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -231,31 +231,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'c','o','s','e','y','f','a','n','n','i','t','u','t','t','i'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 15
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'D','I','S','C','I','P','L','I','N','E'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 10
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_SERIAL_NUMBER '0'
|
|
||||||
#define USB_CFG_SERIAL_NUMBER_LEN 1
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -337,11 +312,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -231,31 +231,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'c','o','s','e','y','f','a','n','n','i','t','u','t','t','i'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 15
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'M','Y','S','T','E','R','I','U','M'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 9
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_SERIAL_NUMBER '0'
|
|
||||||
#define USB_CFG_SERIAL_NUMBER_LEN 1
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -337,11 +312,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -231,31 +231,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'c','o','s','e','y','f','a','n','n','i','t','u','t','t','i'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 15
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'R','O','M','E','O'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 5
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_SERIAL_NUMBER '0'
|
|
||||||
#define USB_CFG_SERIAL_NUMBER_LEN 1
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -337,11 +312,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -20,8 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define VENDOR_ID 0xFAAD
|
#define VENDOR_ID 0xFAAD
|
||||||
#define PRODUCT_ID 0x422D
|
#define PRODUCT_ID 0x422D
|
||||||
#define DEVICE_VER 0x0200
|
#define DEVICE_VER 0x0200
|
||||||
// You can edit those at usbconfig.h about line 250. These values will
|
|
||||||
// unforunatly be ignored so far
|
|
||||||
#define MANUFACTURER HNB
|
#define MANUFACTURER HNB
|
||||||
#define PRODUCT DB63v1 Hotswap
|
#define PRODUCT DB63v1 Hotswap
|
||||||
|
|
||||||
|
|||||||
@@ -230,31 +230,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'H', 'N', 'B'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 3
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'D', 'B', '6', '3', 'H', 'S'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 6
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -336,11 +311,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -230,31 +230,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'D', 'o', 'n', 'u', 't', 'C', 'a', 'b', 'l', 'e', 's'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 11
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'b', 'u', 'd', 'g', 'e', 't', '9', '6'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 8
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -336,11 +311,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -220,31 +220,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 13
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'p', 's', '2', 'a', 'v', 'r', 'G', 'B'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 8
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -326,11 +301,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define VENDOR_ID 0xFEED
|
#define VENDOR_ID 0xFEED
|
||||||
#define PRODUCT_ID 0x0000
|
#define PRODUCT_ID 0x0000
|
||||||
#define DEVICE_VER 0x0001
|
#define DEVICE_VER 0x0001
|
||||||
#define MANUFACTURER exclusive
|
#define MANUFACTURER Exclusive / E-Team
|
||||||
#define PRODUCT e6v2 le bmc
|
#define PRODUCT E6-V2 LE BMC
|
||||||
#define DESCRIPTION A custom 60% keyboard
|
#define DESCRIPTION A custom 60% keyboard
|
||||||
|
|
||||||
/* key matrix size */
|
/* key matrix size */
|
||||||
|
|||||||
@@ -230,31 +230,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'E', 'x', 'c', 'l', 'u', 's', 'i', 'v', 'e'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 9
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'E', '6', 'V', '2'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 4
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -336,11 +311,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define VENDOR_ID 0xFEED
|
#define VENDOR_ID 0xFEED
|
||||||
#define PRODUCT_ID 0x0000
|
#define PRODUCT_ID 0x0000
|
||||||
#define DEVICE_VER 0x0001
|
#define DEVICE_VER 0x0001
|
||||||
#define MANUFACTURER exclusive
|
#define MANUFACTURER Exclusive / E-Team
|
||||||
#define PRODUCT e6v2 oe bmc
|
#define PRODUCT E6-V2 OE BMC
|
||||||
#define DESCRIPTION A custom 60% keyboard
|
#define DESCRIPTION A custom 60% keyboard
|
||||||
|
|
||||||
/* key matrix size */
|
/* key matrix size */
|
||||||
|
|||||||
@@ -230,31 +230,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'E', 'x', 'c', 'l', 'u', 's', 'i', 'v', 'e'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 9
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'E', '6', 'V', '2'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 4
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -336,11 +311,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -220,31 +220,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 13
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'p', 's', '2', 'a', 'v', 'r', 'G', 'B'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 8
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -326,11 +301,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define VENDOR_ID 0x20A0
|
#define VENDOR_ID 0x20A0
|
||||||
#define PRODUCT_ID 0x422D
|
#define PRODUCT_ID 0x422D
|
||||||
#define DEVICE_VER 0x0200
|
#define DEVICE_VER 0x0200
|
||||||
#define MANUFACTURER NotActuallyWinkeyless
|
#define MANUFACTURER SPRiT
|
||||||
#define PRODUCT facew
|
#define PRODUCT FaceW
|
||||||
|
|
||||||
#define RGBLED_NUM 16
|
#define RGBLED_NUM 16
|
||||||
|
|
||||||
|
|||||||
@@ -230,31 +230,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'S', 'p', 'r', 'i', 't'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 5
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'F', 'a', 'c', 'e', 'W'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 5
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -336,11 +311,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -230,31 +230,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'f', 't'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 2
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'm', 'a', 'r', 's', '8', '0'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 6
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -336,11 +311,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -231,31 +231,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'Y','i','a','n','c','a','r','-','D','e', 's', 'i', 'g', 'n', 's'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 15
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'G', 'i', 'n', 'g', 'h', 'a', 'm'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 7
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_SERIAL_NUMBER '0'
|
|
||||||
#define USB_CFG_SERIAL_NUMBER_LEN 1
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -337,11 +312,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -230,31 +230,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'G', 'r', 'a', 'y', ' ', 'S', 't', 'u', 'd', 'i', 'o'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 11
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'H', 'B', '8', '5'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 4
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -336,11 +311,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define PRODUCT_ID 0x0000
|
#define PRODUCT_ID 0x0000
|
||||||
#define DEVICE_VER 0x0002
|
#define DEVICE_VER 0x0002
|
||||||
#define MANUFACTURER HnahKB
|
#define MANUFACTURER HnahKB
|
||||||
#define PRODUCT hnah40
|
#define PRODUCT Hnah40
|
||||||
#define DESCRIPTION Custom 40% PCB
|
#define DESCRIPTION Custom 40% PCB
|
||||||
|
|
||||||
/* key matrix size */
|
/* key matrix size */
|
||||||
|
|||||||
@@ -231,31 +231,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'H','n','a','h','K','B'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 6
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'H', 'n', 'a', 'h', '4', '0'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 6
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_SERIAL_NUMBER 'H','n','a','h','K','B'
|
|
||||||
#define USB_CFG_SERIAL_NUMBER_LEN 6
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -337,11 +312,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -220,31 +220,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'J', 'E', 'R'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 3
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'J', '8', '0'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 3
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -326,11 +301,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define VENDOR_ID 0x1234
|
#define VENDOR_ID 0x1234
|
||||||
#define PRODUCT_ID 0x5679
|
#define PRODUCT_ID 0x5679
|
||||||
#define DEVICE_VER 0x0200
|
#define DEVICE_VER 0x0200
|
||||||
#define MANUFACTURER winkeyless.kr
|
#define MANUFACTURER RAMA
|
||||||
#define PRODUCT JC65 PS2AVRGB
|
#define PRODUCT JC65 BMC
|
||||||
|
|
||||||
/* matrix size */
|
/* matrix size */
|
||||||
#define MATRIX_ROWS 7
|
#define MATRIX_ROWS 7
|
||||||
|
|||||||
@@ -231,31 +231,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 13
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'p', 's', '2', 'a', 'v', 'r', 'G', 'B'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 8
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -337,11 +312,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -19,10 +19,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define VENDOR_ID 0x20A0
|
#define VENDOR_ID 0x20A0
|
||||||
#define PRODUCT_ID 0x422D
|
#define PRODUCT_ID 0x422D
|
||||||
#define DEVICE_VER 0x0200
|
#define DEVICE_VER 0x0200
|
||||||
// TODO: share these strings with usbconfig.h
|
#define MANUFACTURER KPrepublic
|
||||||
// Edit usbconfig.h to change these.
|
#define PRODUCT JJ40
|
||||||
#define MANUFACTURER Kprepublic
|
|
||||||
#define PRODUCT jj40
|
|
||||||
|
|
||||||
/* matrix size */
|
/* matrix size */
|
||||||
#define MATRIX_ROWS 4
|
#define MATRIX_ROWS 4
|
||||||
|
|||||||
@@ -231,31 +231,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 13
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'j', 'j', '4', '0'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 4
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -337,11 +312,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -22,10 +22,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define VENDOR_ID 0x20A0
|
#define VENDOR_ID 0x20A0
|
||||||
#define PRODUCT_ID 0x422D
|
#define PRODUCT_ID 0x422D
|
||||||
#define DEVICE_VER 0x0200
|
#define DEVICE_VER 0x0200
|
||||||
// TODO: share these strings with usbconfig.h
|
#define MANUFACTURER KPrepublic
|
||||||
// Edit usbconfig.h to change these.
|
#define PRODUCT JJ4x4
|
||||||
#define MANUFACTURER Kprepublic
|
|
||||||
#define PRODUCT jj4x4
|
|
||||||
|
|
||||||
/* matrix size */
|
/* matrix size */
|
||||||
#define MATRIX_ROWS 4
|
#define MATRIX_ROWS 4
|
||||||
|
|||||||
@@ -231,31 +231,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 13
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'j', 'j', '4', 'x', '4'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 5
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -337,11 +312,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -25,10 +25,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define VENDOR_ID 0x20A0
|
#define VENDOR_ID 0x20A0
|
||||||
#define PRODUCT_ID 0x422D
|
#define PRODUCT_ID 0x422D
|
||||||
#define DEVICE_VER 0x0200
|
#define DEVICE_VER 0x0200
|
||||||
// TODO: share these strings with usbconfig.h
|
#define MANUFACTURER KPrepublic
|
||||||
// Edit usbconfig.h to change these.
|
#define PRODUCT JJ50
|
||||||
#define MANUFACTURER kprepublic
|
|
||||||
#define PRODUCT jj50
|
|
||||||
#define DESCRIPTION Preonic-like clone
|
#define DESCRIPTION Preonic-like clone
|
||||||
|
|
||||||
/* matrix size */
|
/* matrix size */
|
||||||
|
|||||||
@@ -231,31 +231,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'K', 'P', 'R', 'e', 'p', 'u', 'b', 'l', 'i', 'c'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 10
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'J','J','5','0',' ','K','e','y','b','o','a','r','d'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 13
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -337,11 +312,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define PRODUCT_ID 0x422D
|
#define PRODUCT_ID 0x422D
|
||||||
#define DEVICE_VER 0x0200
|
#define DEVICE_VER 0x0200
|
||||||
#define MANUFACTURER KBDfans
|
#define MANUFACTURER KBDfans
|
||||||
#define PRODUCT KBDPAD-MKI
|
#define PRODUCT KBDPAD Mk. I
|
||||||
|
|
||||||
#define MATRIX_ROWS 6
|
#define MATRIX_ROWS 6
|
||||||
#define MATRIX_COLS 4
|
#define MATRIX_COLS 4
|
||||||
|
|||||||
@@ -230,31 +230,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 13
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'p', 's', '2', 'a', 'v', 'r', 'G', 'B'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 8
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -336,11 +311,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -230,31 +230,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'K','e','y','c','a','p','s','s','s'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 9
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'P', 'l', 'a', 'i', 'd', '-', 'P', 'a', 'd'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 9
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -336,11 +311,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -231,31 +231,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'E', 'V', 'E'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 3
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'K', 'i', 'r', 'a', '8', '0'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 6
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -337,11 +312,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define PRODUCT_ID 0x6050
|
#define PRODUCT_ID 0x6050
|
||||||
#define DEVICE_VER 0x0100
|
#define DEVICE_VER 0x0100
|
||||||
#define MANUFACTURER LeeKu
|
#define MANUFACTURER LeeKu
|
||||||
#define PRODUCT L3
|
#define PRODUCT Finger65
|
||||||
#define DESCRIPTION QMK keyboard firmware for L3
|
#define DESCRIPTION QMK keyboard firmware for L3
|
||||||
|
|
||||||
#define RGBLED_NUM 12
|
#define RGBLED_NUM 12
|
||||||
|
|||||||
@@ -230,31 +230,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'L', 'e', 'e', 'k', 'u'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 5
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'F', 'i', 'n', 'g', 'e', 'r', '6', '5'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 8
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -335,11 +310,11 @@ section at the end of this file).
|
|||||||
|
|
||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_UNKNOWN 0
|
#define USB_CFG_DESCR_PROPS_UNKNOWN 0
|
||||||
|
|||||||
@@ -22,8 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define VENDOR_ID 0xFEED
|
#define VENDOR_ID 0xFEED
|
||||||
#define PRODUCT_ID 0xCA40
|
#define PRODUCT_ID 0xCA40
|
||||||
#define DEVICE_VER 0x0001
|
#define DEVICE_VER 0x0001
|
||||||
// TODO: share these strings with usbconfig.h
|
|
||||||
// Edit usbconfig.h to change these.
|
|
||||||
#define MANUFACTURER MECHKEYS
|
#define MANUFACTURER MECHKEYS
|
||||||
#define PRODUCT Mechmini
|
#define PRODUCT Mechmini
|
||||||
#define DESCRIPTION 40% modular keyboard
|
#define DESCRIPTION 40% modular keyboard
|
||||||
|
|||||||
@@ -231,31 +231,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 13
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'p', 's', '2', 'a', 'v', 'r', 'G', 'B'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 8
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -337,11 +312,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -6,8 +6,8 @@
|
|||||||
#define VENDOR_ID 0x20A0
|
#define VENDOR_ID 0x20A0
|
||||||
#define PRODUCT_ID 0x422D
|
#define PRODUCT_ID 0x422D
|
||||||
#define DEVICE_VER 0x0200
|
#define DEVICE_VER 0x0200
|
||||||
#define MANUFACTURER mehkee
|
#define MANUFACTURER Mehkee
|
||||||
#define PRODUCT 96kee
|
#define PRODUCT 96KEE
|
||||||
|
|
||||||
/* matrix size */
|
/* matrix size */
|
||||||
#define MATRIX_ROWS 8
|
#define MATRIX_ROWS 8
|
||||||
|
|||||||
@@ -231,31 +231,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 13
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'p', 's', '2', 'a', 'v', 'r', 'G', 'B'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 8
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -337,11 +312,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define DEVICE_VER 0x0001
|
#define DEVICE_VER 0x0001
|
||||||
|
|
||||||
#define MANUFACTURER ThomasDehaeze
|
#define MANUFACTURER ThomasDehaeze
|
||||||
#define PRODUCT mt40
|
#define PRODUCT MT40
|
||||||
|
|
||||||
#define DESCRIPTION A Planck clone
|
#define DESCRIPTION A Planck clone
|
||||||
|
|
||||||
|
|||||||
@@ -231,31 +231,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'T', 'h', 'o', 'm', 'a', 's', 'D', 'e', 'h', 'a', 'e', 'z', 'e'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 13
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'c', 'u', 's', 't', 'o', 'm', '4', '8'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 8
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -337,11 +312,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define PRODUCT_ID 0x422D
|
#define PRODUCT_ID 0x422D
|
||||||
#define DEVICE_VER 0x0200
|
#define DEVICE_VER 0x0200
|
||||||
#define MANUFACTURER Panc Interactive
|
#define MANUFACTURER Panc Interactive
|
||||||
#define PRODUCT panc60
|
#define PRODUCT Panc60
|
||||||
|
|
||||||
#define RGBLED_NUM 12
|
#define RGBLED_NUM 12
|
||||||
|
|
||||||
|
|||||||
@@ -230,31 +230,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 13
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'p', 's', '2', 'a', 'v', 'r', 'G', 'B'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 8
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -336,11 +311,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -230,31 +230,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 13
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'p', 's', '2', 'a', 'v', 'r', 'G', 'B'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 8
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -336,11 +311,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define VENDOR_ID 0x20A0
|
#define VENDOR_ID 0x20A0
|
||||||
#define PRODUCT_ID 0x422D
|
#define PRODUCT_ID 0x422D
|
||||||
#define DEVICE_VER 0x0200
|
#define DEVICE_VER 0x0200
|
||||||
#define MANUFACTURER NotActuallyPercent
|
#define MANUFACTURER Percent Studios
|
||||||
#define PRODUCT CANOE
|
#define PRODUCT CANOE
|
||||||
|
|
||||||
#define RGBLED_NUM 2
|
#define RGBLED_NUM 2
|
||||||
|
|||||||
@@ -231,31 +231,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 13
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'p', 's', '2', 'a', 'v', 'r', 'G', 'B'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 8
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -337,11 +312,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define PRODUCT_ID 0x422D
|
#define PRODUCT_ID 0x422D
|
||||||
#define DEVICE_VER 0x0200
|
#define DEVICE_VER 0x0200
|
||||||
|
|
||||||
#define MANUFACTURER Percent
|
#define MANUFACTURER Percent Studios
|
||||||
#define PRODUCT Skog TKL
|
#define PRODUCT Skog TKL
|
||||||
|
|
||||||
/* matrix size */
|
/* matrix size */
|
||||||
|
|||||||
@@ -231,31 +231,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'P','e','r','c','e','n','t'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 7
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'S','k','o','g',' ','T','K','L'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 8
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -337,11 +312,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define VENDOR_ID 0x20A0
|
#define VENDOR_ID 0x20A0
|
||||||
#define PRODUCT_ID 0x422D
|
#define PRODUCT_ID 0x422D
|
||||||
#define DEVICE_VER 0x0200
|
#define DEVICE_VER 0x0200
|
||||||
#define MANUFACTURER Percent
|
#define MANUFACTURER Percent Studios
|
||||||
#define PRODUCT Skog Lite
|
#define PRODUCT Skog Lite
|
||||||
|
|
||||||
#define RGBLED_NUM 18
|
#define RGBLED_NUM 18
|
||||||
|
|||||||
@@ -230,31 +230,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 13
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'p', 's', '2', 'a', 'v', 'r', 'G', 'B'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 8
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -336,11 +311,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define PRODUCT_ID 0x27db
|
#define PRODUCT_ID 0x27db
|
||||||
#define DEVICE_VER 0x0002
|
#define DEVICE_VER 0x0002
|
||||||
#define MANUFACTURER dm9records
|
#define MANUFACTURER dm9records
|
||||||
#define PRODUCT plaid
|
#define PRODUCT Plaid
|
||||||
#define DESCRIPTION 12x4 ortholinear keyboard with through hole components
|
#define DESCRIPTION 12x4 ortholinear keyboard with through hole components
|
||||||
|
|
||||||
/* key matrix size */
|
/* key matrix size */
|
||||||
|
|||||||
@@ -231,31 +231,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'd','m','9','r','e','c','o','r','d','s'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 10
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'P', 'l', 'a', 'i', 'd'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 5
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_SERIAL_NUMBER 'd','m','9','r','e','c','o','r','d','s','.','c','o','m',':','p','1'
|
|
||||||
#define USB_CFG_SERIAL_NUMBER_LEN 17
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -337,11 +312,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -230,31 +230,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 13
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'p', 's', '2', 'a', 'v', 'r', 'G', 'B'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 8
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -336,11 +311,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -230,31 +230,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'd','m','9','r','e','c','o','r','d','s'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 10
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'T', 'a', 'r', 't', 'a', 'n'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 6
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_SERIAL_NUMBER 'd','m','9','r','e','c','o','r','d','s','.','c','o','m',':','t','1'
|
|
||||||
#define USB_CFG_SERIAL_NUMBER_LEN 17
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -336,11 +311,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -20,10 +20,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define VENDOR_ID 0x20A0
|
#define VENDOR_ID 0x20A0
|
||||||
#define PRODUCT_ID 0x422E
|
#define PRODUCT_ID 0x422E
|
||||||
#define DEVICE_VER 0x0200
|
#define DEVICE_VER 0x0200
|
||||||
// TODO: share these strings with usbconfig.h
|
|
||||||
// Edit usbconfig.h to change these.
|
|
||||||
#define MANUFACTURER TGR
|
#define MANUFACTURER TGR
|
||||||
#define PRODUCT TGR Alice
|
#define PRODUCT Alice
|
||||||
|
|
||||||
/* matrix size */
|
/* matrix size */
|
||||||
#define MATRIX_ROWS 6
|
#define MATRIX_ROWS 6
|
||||||
|
|||||||
@@ -231,31 +231,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'T', 'G', 'R'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 3
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'T', 'G', 'R', ' ', 'A', 'l', 'i', 'c', 'e'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 9
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -337,11 +312,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -230,31 +230,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 13
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'p', 's', '2', 'a', 'v', 'r', 'G', 'B'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 8
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -336,11 +311,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define VENDOR_ID 0x20A0
|
#define VENDOR_ID 0x20A0
|
||||||
#define PRODUCT_ID 0x422D
|
#define PRODUCT_ID 0x422D
|
||||||
#define DEVICE_VER 0x0200
|
#define DEVICE_VER 0x0200
|
||||||
#define MANUFACTURER Singa and TGR
|
#define MANUFACTURER Singa x TGR
|
||||||
#define PRODUCT Unikorn 60
|
#define PRODUCT Unikorn60
|
||||||
|
|
||||||
#define MATRIX_ROWS 5
|
#define MATRIX_ROWS 5
|
||||||
#define MATRIX_COLS 15
|
#define MATRIX_COLS 15
|
||||||
|
|||||||
@@ -230,31 +230,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 's', 'i', 'n', 'g', 'a', 't', 'g', 'r'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 8
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'u', 'n', 'i', 'k', 'o', 'r', 'n'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 7
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -336,11 +311,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -21,10 +21,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define VENDOR_ID 0x20A0
|
#define VENDOR_ID 0x20A0
|
||||||
#define PRODUCT_ID 0x422D
|
#define PRODUCT_ID 0x422D
|
||||||
#define DEVICE_VER 0x0200
|
#define DEVICE_VER 0x0200
|
||||||
// You can edit those at usbconfig.h about line 250. These values will
|
#define MANUFACTURER Winkeyless
|
||||||
// unforunatly be ignored so far
|
#define PRODUCT B.face
|
||||||
#define MANUFACTURER winkeyless.kr
|
|
||||||
#define PRODUCT b.face
|
|
||||||
|
|
||||||
/* matrix size */
|
/* matrix size */
|
||||||
#define MATRIX_ROWS 8
|
#define MATRIX_ROWS 8
|
||||||
|
|||||||
@@ -230,31 +230,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 13
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'b', '.', 'f', 'a', 'c', 'e'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 6
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -336,11 +311,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define VENDOR_ID 0x20A0
|
#define VENDOR_ID 0x20A0
|
||||||
#define PRODUCT_ID 0x422D
|
#define PRODUCT_ID 0x422D
|
||||||
#define DEVICE_VER 0x0200
|
#define DEVICE_VER 0x0200
|
||||||
#define MANUFACTURER winkeyless.kr
|
#define MANUFACTURER Winkeyless
|
||||||
#define PRODUCT B.mini
|
#define PRODUCT B.mini
|
||||||
|
|
||||||
#define RGBLED_NUM 16
|
#define RGBLED_NUM 16
|
||||||
|
|||||||
@@ -231,31 +231,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 13
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'p', 's', '2', 'a', 'v', 'r', 'G', 'B'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 8
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -337,11 +312,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define VENDOR_ID 0x20A0
|
#define VENDOR_ID 0x20A0
|
||||||
#define PRODUCT_ID 0x422E
|
#define PRODUCT_ID 0x422E
|
||||||
#define DEVICE_VER 0x0200
|
#define DEVICE_VER 0x0200
|
||||||
#define MANUFACTURER winkeyless.kr
|
#define MANUFACTURER Winkeyless
|
||||||
#define PRODUCT B.mini Ex
|
#define PRODUCT B.mini EX
|
||||||
|
|
||||||
#define RGBLED_NUM 20
|
#define RGBLED_NUM 20
|
||||||
|
|
||||||
|
|||||||
@@ -231,31 +231,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 13
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'p', 's', '2', 'a', 'v', 'r', 'G', 'B'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 8
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -337,11 +312,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -24,11 +24,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define VENDOR_ID 0x20A0
|
#define VENDOR_ID 0x20A0
|
||||||
#define PRODUCT_ID 0x422D
|
#define PRODUCT_ID 0x422D
|
||||||
#define DEVICE_VER 0x0200
|
#define DEVICE_VER 0x0200
|
||||||
|
|
||||||
// TODO: share these strings with usbconfig.h
|
|
||||||
// Edit usbconfig.h to change these.
|
|
||||||
#define MANUFACTURER YMDK
|
#define MANUFACTURER YMDK
|
||||||
#define PRODUCT ymd75 / mt84
|
#define PRODUCT YMD75 / MT84
|
||||||
#define DESCRIPTION 75% Keyboard
|
#define DESCRIPTION 75% Keyboard
|
||||||
|
|
||||||
/* matrix size */
|
/* matrix size */
|
||||||
|
|||||||
@@ -231,31 +231,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'Y', 'M', 'D', 'K'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 4
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'Y','M','D','7','5',' ','K','e','y','b','o','a','r','d'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 14
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -337,11 +312,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -23,9 +23,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define VENDOR_ID 0x20A0
|
#define VENDOR_ID 0x20A0
|
||||||
#define PRODUCT_ID 0x422D
|
#define PRODUCT_ID 0x422D
|
||||||
#define DEVICE_VER 0x0200
|
#define DEVICE_VER 0x0200
|
||||||
// Edit usbconfig.h to change these.
|
#define MANUFACTURER YMDK
|
||||||
#define MANUFACTURER ymdkey
|
#define PRODUCT YMD96
|
||||||
#define PRODUCT ymd96
|
|
||||||
|
|
||||||
/* matrix size */
|
/* matrix size */
|
||||||
#define MATRIX_ROWS 8
|
#define MATRIX_ROWS 8
|
||||||
|
|||||||
@@ -231,31 +231,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'y','m','d','k','e','y'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 6
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'y','m','d','9','6'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 5
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -337,11 +312,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -20,10 +20,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define VENDOR_ID 0x20A0
|
#define VENDOR_ID 0x20A0
|
||||||
#define PRODUCT_ID 0x422D
|
#define PRODUCT_ID 0x422D
|
||||||
#define DEVICE_VER 0x0200
|
#define DEVICE_VER 0x0200
|
||||||
// You can edit those at usbconfig.h about line 250. These values will
|
|
||||||
// unforunatly be ignored so far
|
|
||||||
#define MANUFACTURER YMDK
|
#define MANUFACTURER YMDK
|
||||||
#define PRODUCT bface
|
#define PRODUCT B.face
|
||||||
|
|
||||||
/* matrix size */
|
/* matrix size */
|
||||||
#define MATRIX_ROWS 5
|
#define MATRIX_ROWS 5
|
||||||
|
|||||||
@@ -230,31 +230,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'Y', 'M', 'D', 'K'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 4
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'b', 'f', 'a', 'c', 'e'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 5
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -336,11 +311,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -22,10 +22,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define VENDOR_ID 0x20A0
|
#define VENDOR_ID 0x20A0
|
||||||
#define PRODUCT_ID 0x422D
|
#define PRODUCT_ID 0x422D
|
||||||
#define DEVICE_VER 0x0200
|
#define DEVICE_VER 0x0200
|
||||||
// TODO: share these strings with usbconfig.h
|
#define MANUFACTURER YMDK
|
||||||
// Edit usbconfig.h to change these.
|
#define PRODUCT NP21
|
||||||
#define MANUFACTURER ymdk
|
|
||||||
#define PRODUCT np21
|
|
||||||
|
|
||||||
/* matrix size */
|
/* matrix size */
|
||||||
#define MATRIX_ROWS 4
|
#define MATRIX_ROWS 4
|
||||||
|
|||||||
@@ -231,31 +231,6 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
#define USB_CFG_DEVICE_VERSION (DEVICE_VER & 0xFF), ((DEVICE_VER >> 8) & 0xFF)
|
||||||
/* Version number of the device: Minor number first, then major number.
|
/* Version number of the device: Minor number first, then major number.
|
||||||
*/
|
*/
|
||||||
#define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r'
|
|
||||||
#define USB_CFG_VENDOR_NAME_LEN 13
|
|
||||||
/* These two values define the vendor name returned by the USB device. The name
|
|
||||||
* must be given as a list of characters under single quotes. The characters
|
|
||||||
* are interpreted as Unicode (UTF-16) entities.
|
|
||||||
* If you don't want a vendor name string, undefine these macros.
|
|
||||||
* ALWAYS define a vendor name containing your Internet domain name if you use
|
|
||||||
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
|
|
||||||
* details.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_NAME 'j', 'j', '4', '0'
|
|
||||||
#define USB_CFG_DEVICE_NAME_LEN 4
|
|
||||||
/* Same as above for the device name. If you don't want a device name, undefine
|
|
||||||
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
|
|
||||||
* you use a shared VID/PID.
|
|
||||||
*/
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER 'N', 'o', 'n', 'e' */
|
|
||||||
/*#define USB_CFG_SERIAL_NUMBER_LEN 0 */
|
|
||||||
/* Same as above for the serial number. If you don't want a serial number,
|
|
||||||
* undefine the macros.
|
|
||||||
* It may be useful to provide the serial number through other means than at
|
|
||||||
* compile time. See the section about descriptor properties below for how
|
|
||||||
* to fine tune control over USB descriptors such as the string descriptor
|
|
||||||
* for the serial number.
|
|
||||||
*/
|
|
||||||
#define USB_CFG_DEVICE_CLASS 0
|
#define USB_CFG_DEVICE_CLASS 0
|
||||||
#define USB_CFG_DEVICE_SUBCLASS 0
|
#define USB_CFG_DEVICE_SUBCLASS 0
|
||||||
/* See USB specification if you want to conform to an existing device class.
|
/* See USB specification if you want to conform to an existing device class.
|
||||||
@@ -337,11 +312,11 @@ section at the end of this file).
|
|||||||
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
#define USB_CFG_DESCR_PROPS_DEVICE 0
|
||||||
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
|
||||||
#define USB_CFG_DESCR_PROPS_STRINGS 0
|
#define USB_CFG_DESCR_PROPS_STRINGS USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_0 0
|
#define USB_CFG_DESCR_PROPS_STRING_0 USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
|
#define USB_CFG_DESCR_PROPS_STRING_VENDOR USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
|
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
|
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER USB_PROP_IS_DYNAMIC
|
||||||
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
|
||||||
//#define USB_CFG_DESCR_PROPS_HID 0
|
//#define USB_CFG_DESCR_PROPS_HID 0
|
||||||
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
|
||||||
|
|||||||
@@ -0,0 +1,163 @@
|
|||||||
|
/* Copyright 2020
|
||||||
|
*
|
||||||
|
* 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 "keymap.h"
|
||||||
|
|
||||||
|
// clang-format off
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
|
||||||
|
* │ ¸ │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ ' │ + │ │
|
||||||
|
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
|
||||||
|
* │ │ Q │ W │ E │ R │ T │ Z │ U │ I │ O │ P │ Š │ Đ │ │
|
||||||
|
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ │
|
||||||
|
* │ │ A │ S │ D │ F │ G │ H │ J │ K │ L │ Č │ Ć │ Ž │ │
|
||||||
|
* ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤
|
||||||
|
* │ │ < │ Y │ X │ C │ V │ B │ N │ M │ , │ . │ - │ │
|
||||||
|
* ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
|
||||||
|
* │ │ │ │ │ │ │ │ │
|
||||||
|
* └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
|
||||||
|
*/
|
||||||
|
// Row 1
|
||||||
|
#define HR_CEDL KC_GRV // ¸ (dead)
|
||||||
|
#define HR_1 KC_1 // 1
|
||||||
|
#define HR_2 KC_2 // 2
|
||||||
|
#define HR_3 KC_3 // 3
|
||||||
|
#define HR_4 KC_4 // 4
|
||||||
|
#define HR_5 KC_5 // 5
|
||||||
|
#define HR_6 KC_6 // 6
|
||||||
|
#define HR_7 KC_7 // 7
|
||||||
|
#define HR_8 KC_8 // 8
|
||||||
|
#define HR_9 KC_9 // 9
|
||||||
|
#define HR_0 KC_0 // 0
|
||||||
|
#define HR_QUOT KC_MINS // '
|
||||||
|
#define HR_PLUS KC_EQL // +
|
||||||
|
// Row 2
|
||||||
|
#define HR_Q KC_Q // Q
|
||||||
|
#define HR_W KC_W // W
|
||||||
|
#define HR_E KC_E // E
|
||||||
|
#define HR_R KC_R // R
|
||||||
|
#define HR_T KC_T // T
|
||||||
|
#define HR_Z KC_Y // Z
|
||||||
|
#define HR_U KC_U // U
|
||||||
|
#define HR_I KC_I // I
|
||||||
|
#define HR_O KC_O // O
|
||||||
|
#define HR_P KC_P // P
|
||||||
|
#define HR_SCAR KC_LBRC // Š
|
||||||
|
#define HR_DSTR KC_RBRC // Đ
|
||||||
|
// Row 3
|
||||||
|
#define HR_A KC_A // A
|
||||||
|
#define HR_S KC_S // S
|
||||||
|
#define HR_D KC_D // D
|
||||||
|
#define HR_F KC_F // F
|
||||||
|
#define HR_G KC_G // G
|
||||||
|
#define HR_H KC_H // H
|
||||||
|
#define HR_J KC_J // J
|
||||||
|
#define HR_K KC_K // K
|
||||||
|
#define HR_L KC_L // L
|
||||||
|
#define HR_CCAR KC_SCLN // Č
|
||||||
|
#define HR_CACU KC_QUOT // Ć
|
||||||
|
#define HR_ZCAR KC_NUHS // Ž
|
||||||
|
// Row 4
|
||||||
|
#define HR_LABK KC_NUBS // <
|
||||||
|
#define HR_Y KC_Z // Y
|
||||||
|
#define HR_X KC_X // X
|
||||||
|
#define HR_C KC_C // C
|
||||||
|
#define HR_V KC_V // V
|
||||||
|
#define HR_B KC_B // B
|
||||||
|
#define HR_N KC_N // N
|
||||||
|
#define HR_M KC_M // M
|
||||||
|
#define HR_COMM KC_COMM // ,
|
||||||
|
#define HR_DOT KC_DOT // .
|
||||||
|
#define HR_MINS KC_SLSH // -
|
||||||
|
|
||||||
|
/* Shifted symbols
|
||||||
|
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
|
||||||
|
* │ ¨ │ ! │ " │ # │ $ │ % │ & │ / │ ( │ ) │ = │ ? │ * │ │
|
||||||
|
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
|
||||||
|
* │ │ │ │ │ │ │ │ │ │ │ │ │ │ │
|
||||||
|
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ │
|
||||||
|
* │ │ │ │ │ │ │ │ │ │ │ │ │ │ │
|
||||||
|
* ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤
|
||||||
|
* │ │ > │ │ │ │ │ │ │ │ ; │ : │ _ │ │
|
||||||
|
* ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
|
||||||
|
* │ │ │ │ │ │ │ │ │
|
||||||
|
* └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
|
||||||
|
*/
|
||||||
|
// Row 1
|
||||||
|
#define HR_DIAE S(HR_CEDL) // ¨ (dead)
|
||||||
|
#define HR_EXLM S(HR_1) // !
|
||||||
|
#define HR_DQUO S(HR_2) // "
|
||||||
|
#define HR_HASH S(HR_3) // #
|
||||||
|
#define HR_DLR S(HR_4) // $
|
||||||
|
#define HR_PERC S(HR_5) // %
|
||||||
|
#define HR_AMPR S(HR_6) // &
|
||||||
|
#define HR_SLSH S(HR_7) // /
|
||||||
|
#define HR_LPRN S(HR_8) // (
|
||||||
|
#define HR_RPRN S(HR_9) // )
|
||||||
|
#define HR_EQL S(HR_0) // =
|
||||||
|
#define HR_QUES S(HR_QUOT) // ?
|
||||||
|
#define HR_ASTR S(HR_PLUS) // *
|
||||||
|
// Row 4
|
||||||
|
#define HR_RABK S(HR_LABK) // >
|
||||||
|
#define HR_SCLN S(HR_COMM) // ;
|
||||||
|
#define HR_COLN S(HR_DOT) // :
|
||||||
|
#define HR_UNDS S(HR_MINS) // _
|
||||||
|
|
||||||
|
/* AltGr symbols
|
||||||
|
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
|
||||||
|
* │ │ ~ │ ˇ │ ^ │ ˘ │ ° │ ˛ │ ` │ ˙ │ ´ │ ˝ │ │ │ │
|
||||||
|
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
|
||||||
|
* │ │ \ │ | │ € │ │ │ │ │ │ │ │ ÷ │ × │ │
|
||||||
|
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ │
|
||||||
|
* │ │ │ │ │ [ │ ] │ │ │ ł │ Ł │ │ ß │ ¤ │ │
|
||||||
|
* ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤
|
||||||
|
* │ │ │ │ │ │ @ │ { │ } │ § │ │ │ │ │
|
||||||
|
* ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
|
||||||
|
* │ │ │ │ │ │ │ │ │
|
||||||
|
* └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
|
||||||
|
*/
|
||||||
|
// Row 1
|
||||||
|
#define HR_TILD ALGR(HR_1) // ~
|
||||||
|
#define HR_CARN ALGR(HR_2) // ˇ (dead)
|
||||||
|
#define HR_CIRC ALGR(HR_3) // ^ (dead)
|
||||||
|
#define HR_BREV ALGR(HR_4) // ˘ (dead)
|
||||||
|
#define HR_RNGA ALGR(HR_5) // ° (dead)
|
||||||
|
#define HR_OGON ALGR(HR_6) // ˛ (dead)
|
||||||
|
#define HR_GRV ALGR(HR_7) // `
|
||||||
|
#define HR_DOTA ALGR(HR_8) // ˙ (dead)
|
||||||
|
#define HR_ACUT ALGR(HR_9) // ´ (dead)
|
||||||
|
#define HR_DACU ALGR(HR_0) // ˝ (dead)
|
||||||
|
// Row 2
|
||||||
|
#define HR_BSLS ALGR(HR_Q) // (backslash)
|
||||||
|
#define HR_PIPE ALGR(HR_W) // |
|
||||||
|
#define HR_EURO ALGR(HR_E) // €
|
||||||
|
#define HR_DIV ALGR(HR_SCAR) // ÷
|
||||||
|
#define HR_MUL ALGR(HR_DSTR) // ×
|
||||||
|
// Row 3
|
||||||
|
#define HR_LBRC ALGR(HR_F) // [
|
||||||
|
#define HR_RBRC ALGR(HR_G) // ]
|
||||||
|
#define HR_LLST ALGR(HR_K) // ł
|
||||||
|
#define HR_CLST ALGR(HR_L) // Ł
|
||||||
|
#define HR_SS ALGR(HR_CACU) // ß
|
||||||
|
#define HR_CURR ALGR(HR_ZCAR) // ¤
|
||||||
|
// Row 4
|
||||||
|
#define HR_AT ALGR(HR_V) // @
|
||||||
|
#define HR_LCBR ALGR(HR_B) // {
|
||||||
|
#define HR_RCBR ALGR(HR_N) // }
|
||||||
|
#define HR_SECT ALGR(HR_M) // §
|
||||||
@@ -0,0 +1,155 @@
|
|||||||
|
/* Copyright 2020
|
||||||
|
*
|
||||||
|
* 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 "keymap.h"
|
||||||
|
|
||||||
|
// clang-format off
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
|
||||||
|
* │ ˇ │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ + │ ´ │ │
|
||||||
|
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
|
||||||
|
* │ │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ Ü │ Õ │ │
|
||||||
|
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ │
|
||||||
|
* │ │ A │ S │ D │ F │ G │ H │ J │ K │ L │ Ö │ Ä │ ' │ │
|
||||||
|
* ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤
|
||||||
|
* │ │ < │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ - │ │
|
||||||
|
* ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
|
||||||
|
* │ │ │ │ │ │ │ │ │
|
||||||
|
* └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
|
||||||
|
*/
|
||||||
|
// Row 1
|
||||||
|
#define EE_CARN KC_GRV // ˇ (dead)
|
||||||
|
#define EE_1 KC_1 // 1
|
||||||
|
#define EE_2 KC_2 // 2
|
||||||
|
#define EE_3 KC_3 // 3
|
||||||
|
#define EE_4 KC_4 // 4
|
||||||
|
#define EE_5 KC_5 // 5
|
||||||
|
#define EE_6 KC_6 // 6
|
||||||
|
#define EE_7 KC_7 // 7
|
||||||
|
#define EE_8 KC_8 // 8
|
||||||
|
#define EE_9 KC_9 // 9
|
||||||
|
#define EE_0 KC_0 // 0
|
||||||
|
#define EE_PLUS KC_MINS // +
|
||||||
|
#define EE_ACUT KC_EQL // ´ (dead)
|
||||||
|
// Row 2
|
||||||
|
#define EE_Q KC_Q // Q
|
||||||
|
#define EE_W KC_W // W
|
||||||
|
#define EE_E KC_E // E
|
||||||
|
#define EE_R KC_R // R
|
||||||
|
#define EE_T KC_T // T
|
||||||
|
#define EE_Y KC_Y // Y
|
||||||
|
#define EE_U KC_U // U
|
||||||
|
#define EE_I KC_I // I
|
||||||
|
#define EE_O KC_O // O
|
||||||
|
#define EE_P KC_P // P
|
||||||
|
#define EE_UDIA KC_LBRC // Ü
|
||||||
|
#define EE_OTIL KC_RBRC // Õ
|
||||||
|
// Row 3
|
||||||
|
#define EE_A KC_A // A
|
||||||
|
#define EE_S KC_S // S
|
||||||
|
#define EE_D KC_D // D
|
||||||
|
#define EE_F KC_F // F
|
||||||
|
#define EE_G KC_G // G
|
||||||
|
#define EE_H KC_H // H
|
||||||
|
#define EE_J KC_J // J
|
||||||
|
#define EE_K KC_K // K
|
||||||
|
#define EE_L KC_L // L
|
||||||
|
#define EE_ODIA KC_SCLN // Ö
|
||||||
|
#define EE_ADIA KC_QUOT // Ä
|
||||||
|
#define EE_QUOT KC_NUHS // '
|
||||||
|
// Row 4
|
||||||
|
#define EE_LABK KC_NUBS // <
|
||||||
|
#define EE_Z KC_Z // Z
|
||||||
|
#define EE_X KC_X // X
|
||||||
|
#define EE_C KC_C // C
|
||||||
|
#define EE_V KC_V // V
|
||||||
|
#define EE_B KC_B // B
|
||||||
|
#define EE_N KC_N // N
|
||||||
|
#define EE_M KC_M // M
|
||||||
|
#define EE_COMM KC_COMM // ,
|
||||||
|
#define EE_DOT KC_DOT // .
|
||||||
|
#define EE_MINS KC_SLSH // -
|
||||||
|
|
||||||
|
/* Shifted symbols
|
||||||
|
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
|
||||||
|
* │ ~ │ ! │ " │ # │ ¤ │ % │ & │ / │ ( │ ) │ = │ ? │ ` │ │
|
||||||
|
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
|
||||||
|
* │ │ │ │ │ │ │ │ │ │ │ │ │ │ │
|
||||||
|
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ │
|
||||||
|
* │ │ │ │ │ │ │ │ │ │ │ │ │ * │ │
|
||||||
|
* ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤
|
||||||
|
* │ │ > │ │ │ │ │ │ │ │ ; │ : │ _ │ │
|
||||||
|
* ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
|
||||||
|
* │ │ │ │ │ │ │ │ │
|
||||||
|
* └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
|
||||||
|
*/
|
||||||
|
// Row 1
|
||||||
|
#define EE_TILD S(EE_CARN) // ~ (dead)
|
||||||
|
#define EE_EXLM S(EE_1) // !
|
||||||
|
#define EE_DQUO S(EE_2) // "
|
||||||
|
#define EE_HASH S(EE_3) // #
|
||||||
|
#define EE_CURR S(EE_4) // ¤
|
||||||
|
#define EE_PERC S(EE_5) // %
|
||||||
|
#define EE_AMPR S(EE_6) // &
|
||||||
|
#define EE_SLSH S(EE_7) // /
|
||||||
|
#define EE_LPRN S(EE_8) // (
|
||||||
|
#define EE_RPRN S(EE_9) // )
|
||||||
|
#define EE_EQL S(EE_0) // =
|
||||||
|
#define EE_QUES S(EE_PLUS) // ?
|
||||||
|
#define EE_GRV S(EE_ACUT) // ` (dead)
|
||||||
|
// Row 3
|
||||||
|
#define EE_ASTR S(EE_QUOT) // *
|
||||||
|
// Row 4
|
||||||
|
#define EE_RABK S(EE_LABK) // >
|
||||||
|
#define EE_SCLN S(EE_COMM) // ;
|
||||||
|
#define EE_COLN S(EE_DOT) // :
|
||||||
|
#define EE_UNDS S(EE_MINS) // _
|
||||||
|
|
||||||
|
/* AltGr symbols
|
||||||
|
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
|
||||||
|
* │ │ │ @ │ £ │ $ │ € │ │ { │ [ │ ] │ } │ \ │ │ │
|
||||||
|
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
|
||||||
|
* │ │ │ │ │ │ │ │ │ │ │ │ │ § │ │
|
||||||
|
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ │
|
||||||
|
* │ │ │ š │ │ │ │ │ │ │ │ │ ^ │ ½ │ │
|
||||||
|
* ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤
|
||||||
|
* │ │ | │ ž │ │ │ │ │ │ │ │ │ │ │
|
||||||
|
* ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
|
||||||
|
* │ │ │ │ │ │ │ │ │
|
||||||
|
* └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
|
||||||
|
*/
|
||||||
|
// Row 1
|
||||||
|
#define EE_AT ALGR(EE_2) // @
|
||||||
|
#define EE_PND ALGR(EE_3) // £
|
||||||
|
#define EE_DLR ALGR(EE_4) // $
|
||||||
|
#define EE_EURO ALGR(EE_5) // €
|
||||||
|
#define EE_LCBR ALGR(EE_7) // {
|
||||||
|
#define EE_LBRC ALGR(EE_8) // [
|
||||||
|
#define EE_RBRC ALGR(EE_9) // ]
|
||||||
|
#define EE_RCBR ALGR(EE_0) // }
|
||||||
|
#define EE_BSLS ALGR(EE_PLUS) // (backslash)
|
||||||
|
// Row 2
|
||||||
|
#define EE_SECT ALGR(EE_OTIL) // §
|
||||||
|
// Row 3
|
||||||
|
#define EE_SCAR ALGR(EE_S) // š
|
||||||
|
#define EE_CIRC ALGR(EE_ADIA) // ^ (dead)
|
||||||
|
#define EE_HALF ALGR(EE_QUOT) // ½
|
||||||
|
// Row 4
|
||||||
|
#define EE_PIPE ALGR(EE_LABK) // |
|
||||||
|
#define EE_ZCAR ALGR(EE_Z) // ž
|
||||||
@@ -0,0 +1,100 @@
|
|||||||
|
/* Copyright 2020
|
||||||
|
*
|
||||||
|
* 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/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Sendstring lookup tables for Croatian layouts
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include "keymap_croatian.h"
|
||||||
|
#include "quantum.h"
|
||||||
|
|
||||||
|
// clang-format off
|
||||||
|
|
||||||
|
const uint8_t ascii_to_shift_lut[16] PROGMEM = {
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
|
||||||
|
KCLUT_ENTRY(0, 1, 1, 1, 1, 1, 1, 0),
|
||||||
|
KCLUT_ENTRY(1, 1, 1, 0, 0, 0, 0, 1),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(0, 0, 1, 1, 0, 1, 1, 1),
|
||||||
|
KCLUT_ENTRY(0, 1, 1, 1, 1, 1, 1, 1),
|
||||||
|
KCLUT_ENTRY(1, 1, 1, 1, 1, 1, 1, 1),
|
||||||
|
KCLUT_ENTRY(1, 1, 1, 1, 1, 1, 1, 1),
|
||||||
|
KCLUT_ENTRY(1, 1, 1, 0, 0, 0, 0, 1),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0)
|
||||||
|
};
|
||||||
|
|
||||||
|
const uint8_t ascii_to_altgr_lut[16] PROGMEM = {
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(1, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 1, 1, 1, 1, 0),
|
||||||
|
KCLUT_ENTRY(1, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 1, 1, 1, 1, 0)
|
||||||
|
};
|
||||||
|
|
||||||
|
const uint8_t ascii_to_keycode_lut[128] PROGMEM = {
|
||||||
|
// NUL SOH STX ETX EOT ENQ ACK BEL
|
||||||
|
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
|
// BS TAB LF VT FF CR SO SI
|
||||||
|
KC_BSPC, KC_TAB, KC_ENT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
|
// DLE DC1 DC2 DC3 DC4 NAK SYN ETB
|
||||||
|
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
|
// CAN EM SUB ESC FS GS RS US
|
||||||
|
XXXXXXX, XXXXXXX, XXXXXXX, KC_ESC, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
|
|
||||||
|
// ! " # $ % & '
|
||||||
|
KC_SPC, HR_1, HR_2, HR_3, HR_4, HR_5, HR_6, HR_QUOT,
|
||||||
|
// ( ) * + , - . /
|
||||||
|
HR_8, HR_9, HR_PLUS, HR_PLUS, HR_COMM, HR_MINS, HR_DOT, HR_7,
|
||||||
|
// 0 1 2 3 4 5 6 7
|
||||||
|
HR_0, HR_1, HR_2, HR_3, HR_4, HR_5, HR_6, HR_7,
|
||||||
|
// 8 9 : ; < = > ?
|
||||||
|
HR_8, HR_9, HR_DOT, HR_COMM, HR_LABK, HR_0, HR_LABK, HR_QUOT,
|
||||||
|
// @ A B C D E F G
|
||||||
|
HR_V, HR_A, HR_B, HR_C, HR_D, HR_E, HR_F, HR_G,
|
||||||
|
// H I J K L M N O
|
||||||
|
HR_H, HR_I, HR_J, HR_K, HR_L, HR_M, HR_N, HR_O,
|
||||||
|
// P Q R S T U V W
|
||||||
|
HR_P, HR_Q, HR_R, HR_S, HR_T, HR_U, HR_V, HR_W,
|
||||||
|
// X Y Z [ \ ] ^ _
|
||||||
|
HR_X, HR_Y, HR_Z, HR_F, HR_Q, HR_G, HR_3, HR_MINS,
|
||||||
|
// ` a b c d e f g
|
||||||
|
HR_7, HR_A, HR_B, HR_C, HR_D, HR_E, HR_F, HR_G,
|
||||||
|
// h i j k l m n o
|
||||||
|
HR_H, HR_I, HR_J, HR_K, HR_L, HR_M, HR_N, HR_O,
|
||||||
|
// p q r s t u v w
|
||||||
|
HR_P, HR_Q, HR_R, HR_S, HR_T, HR_U, HR_V, HR_W,
|
||||||
|
// x y z { | } ~ DEL
|
||||||
|
HR_X, HR_Y, HR_Z, HR_B, HR_W, HR_N, HR_1, KC_DEL
|
||||||
|
};
|
||||||
@@ -0,0 +1,100 @@
|
|||||||
|
/* Copyright 2020
|
||||||
|
*
|
||||||
|
* 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/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Sendstring lookup tables for Estonian layouts
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include "keymap_estonian.h"
|
||||||
|
#include "quantum"
|
||||||
|
|
||||||
|
// clang-format off
|
||||||
|
|
||||||
|
const uint8_t ascii_to_shift_lut[16] PROGMEM = {
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
|
||||||
|
KCLUT_ENTRY(0, 1, 1, 1, 0, 1, 1, 0),
|
||||||
|
KCLUT_ENTRY(1, 1, 1, 0, 0, 0, 0, 1),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(0, 0, 1, 1, 0, 1, 1, 1),
|
||||||
|
KCLUT_ENTRY(0, 1, 1, 1, 1, 1, 1, 1),
|
||||||
|
KCLUT_ENTRY(1, 1, 1, 1, 1, 1, 1, 1),
|
||||||
|
KCLUT_ENTRY(1, 1, 1, 1, 1, 1, 1, 1),
|
||||||
|
KCLUT_ENTRY(1, 1, 1, 0, 0, 0, 0, 1),
|
||||||
|
KCLUT_ENTRY(1, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0)
|
||||||
|
};
|
||||||
|
|
||||||
|
const uint8_t ascii_to_altgr_lut[16] PROGMEM = {
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 1, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(1, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 1, 1, 1, 1, 0),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 0, 0, 0, 0, 0),
|
||||||
|
KCLUT_ENTRY(0, 0, 0, 1, 1, 1, 1, 0)
|
||||||
|
};
|
||||||
|
|
||||||
|
const uint8_t ascii_to_keycode_lut[128] PROGMEM = {
|
||||||
|
// NUL SOH STX ETX EOT ENQ ACK BEL
|
||||||
|
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
|
// BS TAB LF VT FF CR SO SI
|
||||||
|
KC_BSPC, KC_TAB, KC_ENT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
|
// DLE DC1 DC2 DC3 DC4 NAK SYN ETB
|
||||||
|
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
|
// CAN EM SUB ESC FS GS RS US
|
||||||
|
XXXXXXX, XXXXXXX, XXXXXXX, KC_ESC, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
|
|
||||||
|
// ! " # $ % & '
|
||||||
|
KC_SPC, EE_1, EE_2, EE_3, EE_4, EE_5, EE_6, EE_QUOT,
|
||||||
|
// ( ) * + , - . /
|
||||||
|
EE_8, EE_9, EE_QUOT, EE_PLUS, EE_COMM, EE_MINS, EE_DOT, EE_7,
|
||||||
|
// 0 1 2 3 4 5 6 7
|
||||||
|
EE_0, EE_1, EE_2, EE_3, EE_4, EE_5, EE_6, EE_7,
|
||||||
|
// 8 9 : ; < = > ?
|
||||||
|
EE_8, EE_9, EE_DOT, EE_COMM, EE_LABK, EE_0, EE_LABK, EE_PLUS,
|
||||||
|
// @ A B C D E F G
|
||||||
|
EE_2, EE_A, EE_B, EE_C, EE_D, EE_E, EE_F, EE_G,
|
||||||
|
// H I J K L M N O
|
||||||
|
EE_H, EE_I, EE_J, EE_K, EE_L, EE_M, EE_N, EE_O,
|
||||||
|
// P Q R S T U V W
|
||||||
|
EE_P, EE_Q, EE_R, EE_S, EE_T, EE_U, EE_V, EE_W,
|
||||||
|
// X Y Z [ \ ] ^ _
|
||||||
|
EE_X, EE_Y, EE_Z, EE_8, EE_PLUS, EE_9, EE_ADIA, EE_MINS,
|
||||||
|
// ` a b c d e f g
|
||||||
|
EE_ACUT, EE_A, EE_B, EE_C, EE_D, EE_E, EE_F, EE_G,
|
||||||
|
// h i j k l m n o
|
||||||
|
EE_H, EE_I, EE_J, EE_K, EE_L, EE_M, EE_N, EE_O,
|
||||||
|
// p q r s t u v w
|
||||||
|
EE_P, EE_Q, EE_R, EE_S, EE_T, EE_U, EE_V, EE_W,
|
||||||
|
// x y z { | } ~ DEL
|
||||||
|
EE_X, EE_Y, EE_Z, EE_7, EE_LABK, EE_0, EE_CARN, KC_DEL
|
||||||
|
};
|
||||||
@@ -5,6 +5,30 @@
|
|||||||
#include "led.h"
|
#include "led.h"
|
||||||
#include "sleep_led.h"
|
#include "sleep_led.h"
|
||||||
|
|
||||||
|
#ifndef SLEEP_LED_TIMER
|
||||||
|
# define SLEEP_LED_TIMER 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if SLEEP_LED_TIMER == 1
|
||||||
|
# define TCCRxB TCCR1B
|
||||||
|
# define TIMERx_COMPA_vect TIMER1_COMPA_vect
|
||||||
|
# if defined(__AVR_ATmega32A__) // This MCU has only one TIMSK register
|
||||||
|
# define TIMSKx TIMSK
|
||||||
|
# else
|
||||||
|
# define TIMSKx TIMSK1
|
||||||
|
# endif
|
||||||
|
# define OCIExA OCIE1A
|
||||||
|
# define OCRxx OCR1A
|
||||||
|
#elif SLEEP_LED_TIMER == 3
|
||||||
|
# define TCCRxB TCCR3B
|
||||||
|
# define TIMERx_COMPA_vect TIMER3_COMPA_vect
|
||||||
|
# define TIMSKx TIMSK3
|
||||||
|
# define OCIExA OCIE3A
|
||||||
|
# define OCRxx OCR3A
|
||||||
|
#else
|
||||||
|
error("Invalid SLEEP_LED_TIMER config")
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Software PWM
|
/* Software PWM
|
||||||
* ______ ______ __
|
* ______ ______ __
|
||||||
* | ON |___OFF___| ON |___OFF___| ....
|
* | ON |___OFF___| ON |___OFF___| ....
|
||||||
@@ -25,15 +49,14 @@
|
|||||||
void sleep_led_init(void) {
|
void sleep_led_init(void) {
|
||||||
/* Timer1 setup */
|
/* Timer1 setup */
|
||||||
/* CTC mode */
|
/* CTC mode */
|
||||||
TCCR1B |= _BV(WGM12);
|
TCCRxB |= _BV(WGM12);
|
||||||
/* Clock selelct: clk/1 */
|
/* Clock selelct: clk/1 */
|
||||||
TCCR1B |= _BV(CS10);
|
TCCRxB |= _BV(CS10);
|
||||||
/* Set TOP value */
|
/* Set TOP value */
|
||||||
uint8_t sreg = SREG;
|
uint8_t sreg = SREG;
|
||||||
cli();
|
cli();
|
||||||
OCR1AH = (SLEEP_LED_TIMER_TOP >> 8) & 0xff;
|
OCRxx = SLEEP_LED_TIMER_TOP;
|
||||||
OCR1AL = SLEEP_LED_TIMER_TOP & 0xff;
|
SREG = sreg;
|
||||||
SREG = sreg;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** \brief Sleep LED enable
|
/** \brief Sleep LED enable
|
||||||
@@ -42,7 +65,7 @@ void sleep_led_init(void) {
|
|||||||
*/
|
*/
|
||||||
void sleep_led_enable(void) {
|
void sleep_led_enable(void) {
|
||||||
/* Enable Compare Match Interrupt */
|
/* Enable Compare Match Interrupt */
|
||||||
TIMSK1 |= _BV(OCIE1A);
|
TIMSKx |= _BV(OCIExA);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** \brief Sleep LED disable
|
/** \brief Sleep LED disable
|
||||||
@@ -51,7 +74,7 @@ void sleep_led_enable(void) {
|
|||||||
*/
|
*/
|
||||||
void sleep_led_disable(void) {
|
void sleep_led_disable(void) {
|
||||||
/* Disable Compare Match Interrupt */
|
/* Disable Compare Match Interrupt */
|
||||||
TIMSK1 &= ~_BV(OCIE1A);
|
TIMSKx &= ~_BV(OCIExA);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** \brief Sleep LED toggle
|
/** \brief Sleep LED toggle
|
||||||
@@ -60,7 +83,7 @@ void sleep_led_disable(void) {
|
|||||||
*/
|
*/
|
||||||
void sleep_led_toggle(void) {
|
void sleep_led_toggle(void) {
|
||||||
/* Disable Compare Match Interrupt */
|
/* Disable Compare Match Interrupt */
|
||||||
TIMSK1 ^= _BV(OCIE1A);
|
TIMSKx ^= _BV(OCIExA);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** \brief Breathing Sleep LED brighness(PWM On period) table
|
/** \brief Breathing Sleep LED brighness(PWM On period) table
|
||||||
@@ -72,7 +95,7 @@ void sleep_led_toggle(void) {
|
|||||||
*/
|
*/
|
||||||
static const uint8_t breathing_table[64] PROGMEM = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 4, 6, 10, 15, 23, 32, 44, 58, 74, 93, 113, 135, 157, 179, 199, 218, 233, 245, 252, 255, 252, 245, 233, 218, 199, 179, 157, 135, 113, 93, 74, 58, 44, 32, 23, 15, 10, 6, 4, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
|
static const uint8_t breathing_table[64] PROGMEM = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 4, 6, 10, 15, 23, 32, 44, 58, 74, 93, 113, 135, 157, 179, 199, 218, 233, 245, 252, 255, 252, 245, 233, 218, 199, 179, 157, 135, 113, 93, 74, 58, 44, 32, 23, 15, 10, 6, 4, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
|
||||||
|
|
||||||
ISR(TIMER1_COMPA_vect) {
|
ISR(TIMERx_COMPA_vect) {
|
||||||
/* Software PWM
|
/* Software PWM
|
||||||
* timer:1111 1111 1111 1111
|
* timer:1111 1111 1111 1111
|
||||||
* \_____/\/ \_______/____ count(0-255)
|
* \_____/\/ \_______/____ count(0-255)
|
||||||
|
|||||||
@@ -20,6 +20,9 @@
|
|||||||
#include "timer.h"
|
#include "timer.h"
|
||||||
#include "uart.h"
|
#include "uart.h"
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
#ifdef SLEEP_LED_ENABLE
|
||||||
|
# include "sleep_led.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#define UART_BAUD_RATE 115200
|
#define UART_BAUD_RATE 115200
|
||||||
|
|
||||||
@@ -59,6 +62,9 @@ int main(void) {
|
|||||||
initForUsbConnectivity();
|
initForUsbConnectivity();
|
||||||
|
|
||||||
keyboard_init();
|
keyboard_init();
|
||||||
|
#ifdef SLEEP_LED_ENABLE
|
||||||
|
sleep_led_init();
|
||||||
|
#endif
|
||||||
|
|
||||||
debug("main loop\n");
|
debug("main loop\n");
|
||||||
while (1) {
|
while (1) {
|
||||||
@@ -67,10 +73,16 @@ int main(void) {
|
|||||||
suspended = false;
|
suspended = false;
|
||||||
usbSofCount = 0;
|
usbSofCount = 0;
|
||||||
last_timer = timer_read();
|
last_timer = timer_read();
|
||||||
|
# ifdef SLEEP_LED_ENABLE
|
||||||
|
sleep_led_disable();
|
||||||
|
# endif
|
||||||
} else {
|
} else {
|
||||||
// Suspend when no SOF in 3ms-10ms(7.1.7.4 Suspending of USB1.1)
|
// Suspend when no SOF in 3ms-10ms(7.1.7.4 Suspending of USB1.1)
|
||||||
if (timer_elapsed(last_timer) > 5) {
|
if (timer_elapsed(last_timer) > 5) {
|
||||||
suspended = true;
|
suspended = true;
|
||||||
|
# ifdef SLEEP_LED_ENABLE
|
||||||
|
sleep_led_enable();
|
||||||
|
# endif
|
||||||
/*
|
/*
|
||||||
uart_putchar('S');
|
uart_putchar('S');
|
||||||
_delay_ms(1);
|
_delay_ms(1);
|
||||||
|
|||||||
@@ -335,6 +335,10 @@ const PROGMEM uchar mouse_extra_hid_report[] = {
|
|||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef SERIAL_NUMBER
|
||||||
|
# define SERIAL_NUMBER 0
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef USB_MAX_POWER_CONSUMPTION
|
#ifndef USB_MAX_POWER_CONSUMPTION
|
||||||
# define USB_MAX_POWER_CONSUMPTION 500
|
# define USB_MAX_POWER_CONSUMPTION 500
|
||||||
#endif
|
#endif
|
||||||
@@ -344,6 +348,40 @@ const PROGMEM uchar mouse_extra_hid_report[] = {
|
|||||||
# define USB_POLLING_INTERVAL_MS 1
|
# define USB_POLLING_INTERVAL_MS 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// clang-format off
|
||||||
|
const PROGMEM usbStringDescriptor_t usbDescriptorStringZero = {
|
||||||
|
.header = {
|
||||||
|
.bLength = USB_STRING_LEN(1),
|
||||||
|
.bDescriptorType = USBDESCR_STRING
|
||||||
|
},
|
||||||
|
.bString = {0x0409} // US English
|
||||||
|
};
|
||||||
|
|
||||||
|
const PROGMEM usbStringDescriptor_t usbDescriptorStringManufacturer = {
|
||||||
|
.header = {
|
||||||
|
.bLength = USB_STRING_LEN(sizeof(STR(MANUFACTURER)) - 1),
|
||||||
|
.bDescriptorType = USBDESCR_STRING
|
||||||
|
},
|
||||||
|
.bString = LSTR(MANUFACTURER)
|
||||||
|
};
|
||||||
|
|
||||||
|
const PROGMEM usbStringDescriptor_t usbDescriptorStringProduct = {
|
||||||
|
.header = {
|
||||||
|
.bLength = USB_STRING_LEN(sizeof(STR(PRODUCT)) - 1),
|
||||||
|
.bDescriptorType = USBDESCR_STRING
|
||||||
|
},
|
||||||
|
.bString = LSTR(PRODUCT)
|
||||||
|
};
|
||||||
|
|
||||||
|
const PROGMEM usbStringDescriptor_t usbDescriptorStringSerial = {
|
||||||
|
.header = {
|
||||||
|
.bLength = USB_STRING_LEN(sizeof(STR(SERIAL_NUMBER)) - 1),
|
||||||
|
.bDescriptorType = USBDESCR_STRING
|
||||||
|
},
|
||||||
|
.bString = LSTR(SERIAL_NUMBER)
|
||||||
|
};
|
||||||
|
// clang-format on
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Descriptor for compite device: Keyboard + Mouse
|
* Descriptor for compite device: Keyboard + Mouse
|
||||||
*
|
*
|
||||||
@@ -457,6 +495,26 @@ USB_PUBLIC usbMsgLen_t usbFunctionDescriptor(struct usbRequest *rq) {
|
|||||||
len = sizeof(usbDescriptorConfiguration);
|
len = sizeof(usbDescriptorConfiguration);
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
case USBDESCR_STRING:
|
||||||
|
switch (rq->wValue.bytes[0]) {
|
||||||
|
case 0:
|
||||||
|
usbMsgPtr = (unsigned char *)&usbDescriptorStringZero;
|
||||||
|
len = usbDescriptorStringZero.header.bLength;
|
||||||
|
break;
|
||||||
|
case 1: // iManufacturer
|
||||||
|
usbMsgPtr = (unsigned char *)&usbDescriptorStringManufacturer;
|
||||||
|
len = usbDescriptorStringManufacturer.header.bLength;
|
||||||
|
break;
|
||||||
|
case 2: // iProduct
|
||||||
|
usbMsgPtr = (unsigned char *)&usbDescriptorStringProduct;
|
||||||
|
len = usbDescriptorStringProduct.header.bLength;
|
||||||
|
break;
|
||||||
|
case 3: // iSerialNumber
|
||||||
|
usbMsgPtr = (unsigned char *)&usbDescriptorStringSerial;
|
||||||
|
len = usbDescriptorStringSerial.header.bLength;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
break;
|
||||||
case USBDESCR_HID:
|
case USBDESCR_HID:
|
||||||
switch (rq->wValue.bytes[0]) {
|
switch (rq->wValue.bytes[0]) {
|
||||||
case 0:
|
case 0:
|
||||||
|
|||||||
@@ -20,6 +20,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
#include "host_driver.h"
|
#include "host_driver.h"
|
||||||
|
|
||||||
|
typedef struct usbDescriptorHeader {
|
||||||
|
uchar bLength;
|
||||||
|
uchar bDescriptorType;
|
||||||
|
} __attribute__((packed)) usbDescriptorHeader_t;
|
||||||
|
|
||||||
|
typedef struct usbStringDescriptor {
|
||||||
|
usbDescriptorHeader_t header;
|
||||||
|
int bString[];
|
||||||
|
} __attribute__((packed)) usbStringDescriptor_t;
|
||||||
|
|
||||||
|
#define USB_STRING_LEN(s) (sizeof(usbDescriptorHeader_t) + ((s) << 1))
|
||||||
|
|
||||||
host_driver_t *vusb_driver(void);
|
host_driver_t *vusb_driver(void);
|
||||||
void vusb_transfer_keyboard(void);
|
void vusb_transfer_keyboard(void);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user