integrate V-USB support into ps2_usb
This commit is contained in:
parent
47f5d8b545
commit
fb8d23c60c
27 changed files with 176 additions and 1183 deletions
18
keymap.h
Normal file
18
keymap.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
#ifndef KEYMAP_H
|
||||
#define KEYMAP_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include "usb_keycodes.h"
|
||||
|
||||
|
||||
/* keycode in specific layer */
|
||||
uint8_t keymap_get_keycode(uint8_t layer, uint8_t row, uint8_t col);
|
||||
|
||||
/* layer to move during press Fn key */
|
||||
uint8_t keymap_fn_layer(uint8_t fn_bits);
|
||||
|
||||
/* keycode to send when release Fn key without using */
|
||||
uint8_t keymap_fn_keycode(uint8_t fn_bits);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue