summaryrefslogtreecommitdiff
path: root/Kernel/Keyboard.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-12-03 00:39:25 +0100
committerAndreas Kling <awesomekling@gmail.com>2018-12-03 00:39:25 +0100
commitf6e27c2abe9da2ed1159cfc30618afc66bfbab79 (patch)
tree511a2b15828a5b431bc54a6c95d0986453d48753 /Kernel/Keyboard.h
parentd824442e3e4961e6df18aeb625f645a98760ac2a (diff)
downloadserenity-f6e27c2abe9da2ed1159cfc30618afc66bfbab79.zip
More coding style changes.
Diffstat (limited to 'Kernel/Keyboard.h')
-rw-r--r--Kernel/Keyboard.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Kernel/Keyboard.h b/Kernel/Keyboard.h
index 923c3ab9aa..6b207fcc60 100644
--- a/Kernel/Keyboard.h
+++ b/Kernel/Keyboard.h
@@ -30,16 +30,16 @@ public:
virtual ~Keyboard() override;
Keyboard();
- void setClient(KeyboardClient* client) { m_client = client; }
+ void set_client(KeyboardClient* client) { m_client = client; }
private:
// ^IRQHandler
- virtual void handleIRQ() override;
+ virtual void handle_irq() override;
// ^CharacterDevice
virtual ssize_t read(byte* buffer, size_t) override;
virtual ssize_t write(const byte* buffer, size_t) override;
- virtual bool hasDataAvailableForRead() const override;
+ virtual bool has_data_available_for_reading() const override;
void emit(byte);
@@ -51,5 +51,5 @@ private:
class KeyboardClient {
public:
virtual ~KeyboardClient();
- virtual void onKeyPress(Keyboard::Key) = 0;
+ virtual void on_key_pressed(Keyboard::Key) = 0;
};