1
0
Fork 0

Fix Locking CapsLock support in ADB converter

This commit is contained in:
tmk 2013-03-12 12:10:12 +09:00
parent c0137b4b32
commit c4ab832be0
5 changed files with 16 additions and 37 deletions

View file

@ -32,13 +32,22 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROWS 16 // keycode bit: 3-0
#define MATRIX_COLS 8 // keycode bit: 6-4
/* Locking Caps Lock support */
#define MATRIX_HAS_LOCKING_CAPS
#define MATRIX_ROW(code) ((code)>>3&0x0F)
#define MATRIX_COL(code) ((code)&0x07)
/* Locking Caps Lock support */
//#define MATRIX_HAS_LOCKING_CAPS
/* Mechanical locking CapsLock support. Use KC_LCAP instead of KC_CAPS in keymap */
#define CAPSLOCK_LOCKING_ENABLE
/* Locking CapsLock resynchronize hack */
#define CAPSLOCK_LOCKING_RESYNC_ENABLE
/* legacy keymap support */
#define USE_LEGACY_KEYMAP
/* mouse keys */
#ifdef MOUSEKEY_ENABLE
# define MOUSEKEY_DELAY_TIME 192