mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 17:11:52 +08:00
mixed mode for arduino hid
This commit is contained in:
@@ -33,11 +33,11 @@
|
||||
// #define PS2_KBD_DATA_PIN 5
|
||||
|
||||
|
||||
class Ps2Hid {
|
||||
class Ps2HidKeyboard {
|
||||
// https://wiki.osdev.org/PS/2_Keyboard
|
||||
|
||||
public:
|
||||
Ps2Hid() : _dev(PS2_KBD_CLOCK_PIN, PS2_KBD_DATA_PIN) {}
|
||||
Ps2HidKeyboard() : _dev(PS2_KBD_CLOCK_PIN, PS2_KBD_DATA_PIN) {}
|
||||
|
||||
void begin() {
|
||||
_dev.keyboard_init();
|
||||
|
||||
Reference in New Issue
Block a user