diff options
| author | tmk <nobody@nowhere> | 2013-11-20 11:19:59 +0900 |
|---|---|---|
| committer | tmk <nobody@nowhere> | 2013-11-20 11:32:09 +0900 |
| commit | d7f663a1ea4487a6dc5be76085eff7b00bec9704 (patch) | |
| tree | 8bbec9b81d8154aebb765b9734a7ce6abc47b832 /common/host.c | |
| parent | 755e4d8b00a4f9be0c50c2b005d063b94c528f8c (diff) | |
| download | qmk_firmware-d7f663a1ea4487a6dc5be76085eff7b00bec9704.tar.gz qmk_firmware-d7f663a1ea4487a6dc5be76085eff7b00bec9704.zip | |
Fix to build ps2_mouse with both LUFA and PJRC
- change API of ps2_mouse; ps2_mouse_task()
- remove mouse_report from host.c
Diffstat (limited to 'common/host.c')
| -rw-r--r-- | common/host.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/common/host.c b/common/host.c index 0703dba01..1eafef75c 100644 --- a/common/host.c +++ b/common/host.c | |||
| @@ -27,9 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | bool keyboard_nkro = false; | 27 | bool keyboard_nkro = false; |
| 28 | #endif | 28 | #endif |
| 29 | 29 | ||
| 30 | report_mouse_t mouse_report = {}; | ||
| 31 | |||
| 32 | |||
| 33 | static host_driver_t *driver; | 30 | static host_driver_t *driver; |
| 34 | static uint16_t last_system_report = 0; | 31 | static uint16_t last_system_report = 0; |
| 35 | static uint16_t last_consumer_report = 0; | 32 | static uint16_t last_consumer_report = 0; |
| @@ -89,11 +86,6 @@ void host_consumer_send(uint16_t report) | |||
| 89 | (*driver->send_consumer)(report); | 86 | (*driver->send_consumer)(report); |
| 90 | } | 87 | } |
| 91 | 88 | ||
| 92 | uint8_t host_mouse_in_use(void) | ||
| 93 | { | ||
| 94 | return (mouse_report.buttons | mouse_report.x | mouse_report.y | mouse_report.v | mouse_report.h); | ||
| 95 | } | ||
| 96 | |||
| 97 | uint16_t host_last_sysytem_report(void) | 89 | uint16_t host_last_sysytem_report(void) |
| 98 | { | 90 | { |
| 99 | return last_system_report; | 91 | return last_system_report; |
