Browse Source

fixed constructor

master
Robin Thoni 9 years ago
parent
commit
90a7068453
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      UsbKeyboard.hxx

+ 1
- 1
UsbKeyboard.hxx View File

@@ -53,7 +53,7 @@ UsbKeyboardDevice::UsbKeyboardDevice(const char* layout)
53 53
     //       missing first keystroke bug properly.
54 54
     memset(reportBuffer, 0, sizeof(reportBuffer));
55 55
     usbSetInterrupt(reportBuffer, sizeof(reportBuffer));
56
-    setLayout("us");
56
+    setLayout(layout);
57 57
 }
58 58
 
59 59
 bool UsbKeyboardDevice::isUsbReady()

Loading…
Cancel
Save