summaryrefslogtreecommitdiff
path: root/hid/src/ps2/hid.h
diff options
context:
space:
mode:
authortomaszduda23 <[email protected]>2022-07-07 01:11:55 +0200
committerGitHub <[email protected]>2022-07-07 02:11:55 +0300
commitdd251eeaf915a207f292ee26e8e04f839d45417f (patch)
tree01568a7b8b0740b6019ed1a699f0e38139fe5841 /hid/src/ps2/hid.h
parentc09567c1a90d76f302ced8ff3a7db5ad32192cc1 (diff)
change name of method getOfflineAs->isOffline to simplyfy the interface (#92)
Diffstat (limited to 'hid/src/ps2/hid.h')
-rw-r--r--hid/src/ps2/hid.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hid/src/ps2/hid.h b/hid/src/ps2/hid.h
index 6b5e616d..ec55b80a 100644
--- a/hid/src/ps2/hid.h
+++ b/hid/src/ps2/hid.h
@@ -74,8 +74,8 @@ class Ps2Keyboard {
}
}
- uint8_t getOfflineAs(uint8_t offline) {
- return 0;
+ bool isOffline() {
+ return false;
}
uint8_t getLedsAs(uint8_t caps, uint8_t scroll, uint8_t num) {