]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - common/host.c
Fix to build ps2_mouse with both LUFA and PJRC
[qmk_firmware.git] / common / host.c
index 0703dba013a05be44d506714b680c76c65816779..1eafef75cc3c2d6c5e13346fb250be1c9225a769 100644 (file)
@@ -27,9 +27,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 bool keyboard_nkro = false;
 #endif
 
-report_mouse_t mouse_report = {};
-
-
 static host_driver_t *driver;
 static uint16_t last_system_report = 0;
 static uint16_t last_consumer_report = 0;
@@ -89,11 +86,6 @@ void host_consumer_send(uint16_t report)
     (*driver->send_consumer)(report);
 }
 
-uint8_t host_mouse_in_use(void)
-{
-    return (mouse_report.buttons | mouse_report.x | mouse_report.y | mouse_report.v | mouse_report.h);
-}
-
 uint16_t host_last_sysytem_report(void)
 {
     return last_system_report;