Explorar el Código

fixed constructor

master
Robin Thoni hace 8 años
padre
commit
90a7068453
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      UsbKeyboard.hxx

+ 1
- 1
UsbKeyboard.hxx Ver fichero

@@ -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…
Cancelar
Guardar