Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ed80874f72 | ||
|
|
23e942ae4e | ||
|
|
c077300e19 | ||
|
|
11f12d386b | ||
|
|
4d76d85d7b |
@@ -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
|
||||||
|
|||||||
37
keyboards/bm16a/keymaps/factory/keymap.c
Normal file
37
keyboards/bm16a/keymaps/factory/keymap.c
Normal file
@@ -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, _______, _______
|
||||||
|
)
|
||||||
|
};
|
||||||
4
keyboards/bm16a/keymaps/factory/readme.md
Normal file
4
keyboards/bm16a/keymaps/factory/readme.md
Normal file
@@ -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
|
||||||
|
|||||||
@@ -166,7 +166,7 @@
|
|||||||
|
|
||||||
// DEPRECATED
|
// DEPRECATED
|
||||||
#define IT_BKSL IT_BSLS
|
#define IT_BKSL IT_BSLS
|
||||||
#define IT_QUOT IT_APOS
|
#define IT_APOS IT_QUOT
|
||||||
#define IT_IACC IT_IGRV
|
#define IT_IACC IT_IGRV
|
||||||
#define IT_EACC IT_EGRV
|
#define IT_EACC IT_EGRV
|
||||||
#define IT_OACC IT_OGRV
|
#define IT_OACC IT_OGRV
|
||||||
|
|||||||
@@ -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