|
1 | 1 | /* |
2 | | - Copyright (c) 2012 Arduino. All right reserved. |
3 | | -
|
4 | | - This library is free software; you can redistribute it and/or |
5 | | - modify it under the terms of the GNU Lesser General Public |
6 | | - License as published by the Free Software Foundation; either |
7 | | - version 2.1 of the License, or (at your option) any later version. |
8 | | -
|
9 | | - This library is distributed in the hope that it will be useful, |
10 | | - but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 | | - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
12 | | - See the GNU Lesser General Public License for more details. |
13 | | -
|
14 | | - You should have received a copy of the GNU Lesser General Public |
15 | | - License along with this library; if not, write to the Free Software |
16 | | - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 2 | + * Copyright (c) 2015 Arduino LLC. All right reserved. |
| 3 | + * |
| 4 | + * This library is free software; you can redistribute it and/or |
| 5 | + * modify it under the terms of the GNU Lesser General Public |
| 6 | + * License as published by the Free Software Foundation; either |
| 7 | + * version 2.1 of the License, or (at your option) any later version. |
| 8 | + * |
| 9 | + * This library is distributed in the hope that it will be useful, |
| 10 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 12 | + * See the GNU Lesser General Public License for more details. |
| 13 | + * |
| 14 | + * You should have received a copy of the GNU Lesser General Public |
| 15 | + * License along with this library; if not, write to the Free Software |
| 16 | + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
17 | 17 | */ |
18 | 18 |
|
19 | 19 | #include <MouseController.h> |
@@ -49,35 +49,35 @@ void MouseController::OnMouseMove(MOUSEINFO *mi) { |
49 | 49 | mouseMoved(); |
50 | 50 | } |
51 | 51 |
|
52 | | -void MouseController::OnLeftButtonUp(MOUSEINFO *mi) { |
| 52 | +void MouseController::OnLeftButtonUp(MOUSEINFO * /* mi */) { |
53 | 53 | buttons &= ~LEFT_BUTTON; |
54 | 54 | mouseReleased(); |
55 | 55 | mouseClicked(); |
56 | 56 | } |
57 | 57 |
|
58 | | -void MouseController::OnLeftButtonDown(MOUSEINFO *mi) { |
| 58 | +void MouseController::OnLeftButtonDown(MOUSEINFO * /* mi */) { |
59 | 59 | buttons |= LEFT_BUTTON; |
60 | 60 | mousePressed(); |
61 | 61 | } |
62 | 62 |
|
63 | | -void MouseController::OnMiddleButtonUp(MOUSEINFO *mi) { |
| 63 | +void MouseController::OnMiddleButtonUp(MOUSEINFO * /* mi */) { |
64 | 64 | buttons &= ~MIDDLE_BUTTON; |
65 | 65 | mouseReleased(); |
66 | 66 | mouseClicked(); |
67 | 67 | } |
68 | 68 |
|
69 | | -void MouseController::OnMiddleButtonDown(MOUSEINFO *mi) { |
| 69 | +void MouseController::OnMiddleButtonDown(MOUSEINFO * /* mi */) { |
70 | 70 | buttons |= MIDDLE_BUTTON; |
71 | 71 | mousePressed(); |
72 | 72 | } |
73 | 73 |
|
74 | | -void MouseController::OnRightButtonUp(MOUSEINFO *mi) { |
| 74 | +void MouseController::OnRightButtonUp(MOUSEINFO * /* mi */) { |
75 | 75 | buttons &= ~RIGHT_BUTTON; |
76 | 76 | mouseReleased(); |
77 | 77 | mouseClicked(); |
78 | 78 | } |
79 | 79 |
|
80 | | -void MouseController::OnRightButtonDown(MOUSEINFO *mi) { |
| 80 | +void MouseController::OnRightButtonDown(MOUSEINFO * /* mi */) { |
81 | 81 | buttons |= RIGHT_BUTTON; |
82 | 82 | mousePressed(); |
83 | 83 | } |
0 commit comments