diff --git a/lib_xua/src/hid/hid.xc b/lib_xua/src/hid/hid.xc index 72a4fea6..bdd5aef3 100644 --- a/lib_xua/src/hid/hid.xc +++ b/lib_xua/src/hid/hid.xc @@ -5,6 +5,7 @@ #include "xud_std_requests.h" #include "xua_hid.h" +#if( 0 < HID_CONTROLS ) #define MS_IN_TICKS 100000U static unsigned s_hidIdleActive = 0U; @@ -216,3 +217,5 @@ static unsigned HidTimeDiff( const unsigned earlierTime, const unsigned laterTim { return ( earlierTime < laterTime ) ? laterTime - earlierTime : UINT_MAX - earlierTime + laterTime; } + +#endif /* ( 0 < HID_CONTROLS ) */