summaryrefslogtreecommitdiffstats
path: root/src/GameBoy/Keyboard.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/GameBoy/Keyboard.php')
-rw-r--r--src/GameBoy/Keyboard.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/GameBoy/Keyboard.php b/src/GameBoy/Keyboard.php
index 8ad007f..b338c0c 100644
--- a/src/GameBoy/Keyboard.php
+++ b/src/GameBoy/Keyboard.php
@@ -20,9 +20,9 @@ class Keyboard
{
$key = fread($this->file, 1);
- if (! empty($key)) {
+ if (!empty($key)) {
$this->keyDown($key);
- } else if (! empty($this->keyPressing)) {
+ } else if (!empty($this->keyPressing)) {
$this->keyUp($this->keyPressing);
}
@@ -60,4 +60,4 @@ class Keyboard
$this->core->JoyPadEvent($keyCode, false);
}
}
-} \ No newline at end of file
+}