Kaynağa Gözat

fixed constructor

master
Robin Thoni 8 yıl önce
ebeveyn
işleme
90a7068453
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1
    1
      UsbKeyboard.hxx

+ 1
- 1
UsbKeyboard.hxx Dosyayı Görüntüle

@@ -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…
İptal
Kaydet