diff options
author | Maxim Devaev <[email protected]> | 2023-09-09 13:08:34 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2023-09-09 13:08:34 +0300 |
commit | 1b772aace2df1413a7a8d555ecd04d55f64cfb2b (patch) | |
tree | 6901d72025d7f21a1be2b1808c8fd897f41f933c /hid/pico/src/ph_outputs.h | |
parent | 2189b77c07533c5ed7bfc3f7d58b98f0622419dd (diff) |
refactoring
Diffstat (limited to 'hid/pico/src/ph_outputs.h')
-rw-r--r-- | hid/pico/src/ph_outputs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hid/pico/src/ph_outputs.h b/hid/pico/src/ph_outputs.h index ce68ac30..d2487327 100644 --- a/hid/pico/src/ph_outputs.h +++ b/hid/pico/src/ph_outputs.h @@ -26,6 +26,7 @@ #include "ph_proto.h" +#define PH_O_HAS_PS2 (!!(ph_g_outputs_avail & PH_PROTO_OUT2_HAS_PS2)) #define PH_O_KBD(x_id) ((ph_g_outputs_active & PH_PROTO_OUT1_KBD_MASK) == PH_PROTO_OUT1_KBD_##x_id) #define PH_O_MOUSE(x_id) ((ph_g_outputs_active & PH_PROTO_OUT1_MOUSE_MASK) == PH_PROTO_OUT1_MOUSE_##x_id) #define PH_O_IS_KBD_USB PH_O_KBD(USB) |