mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
refactoring
This commit is contained in:
parent
d409ae68c3
commit
1c77ae1ef9
@ -21,9 +21,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#include "usb/hid.h"
|
#include "usb/hid.h"
|
||||||
#ifdef HID_WITH_PS2
|
|
||||||
#include "ps2/hid.h"
|
#include "ps2/hid.h"
|
||||||
#endif
|
|
||||||
#include "factory.h"
|
#include "factory.h"
|
||||||
#include "eeprom.h"
|
#include "eeprom.h"
|
||||||
|
|
||||||
@ -31,6 +29,7 @@
|
|||||||
# error "Only AVR is supported"
|
# error "Only AVR is supported"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
namespace DRIVERS {
|
namespace DRIVERS {
|
||||||
Keyboard *Factory::makeKeyboard(type _type) {
|
Keyboard *Factory::makeKeyboard(type _type) {
|
||||||
switch (_type) {
|
switch (_type) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user