Browse Source

converter/m0110_usb Configurator support and readme cleanup (#4421)

* Apple M0110 USB converter: readme cleanup

* Apple M0110 USB converter: Configurator support
noroadsleft 6 years ago
parent
commit
991686203c
2 changed files with 181 additions and 9 deletions
  1. 9 9
      keyboards/converter/m0110_usb/README.md
  2. 172 0
      keyboards/converter/m0110_usb/info.json

+ 9 - 9
keyboards/converter/m0110_usb/README.md

@@ -1,19 +1,19 @@
-M0110(A) keyboard converter
-======================================
+# M0110(A) keyboard converter
+
 This is a port of the original M0110 converter from TMK to QMK. The original converter was designed to work with **ATmega32U2** and **ATmega32U4** based microcontrollers to convert Apple M0110/M0110A keyboards and M0120 numpads to USB. This port has been tested to be compatible with the [**Adafruit Feather 32U4 BLE**](https://learn.adafruit.com/adafruit-feather-32u4-bluefruit-le).
 
 
-### Enabling Bluetooth for the Adafruit Feather 32U4 BLE
-----------------------------------------------------
+## Enabling Bluetooth for the Adafruit Feather 32U4 BLE
+
 Simply add `BLUETOOTH = AdafruitBLE` to your `rules.mk` file. This enables code specifically for the Adafruit Feather 32U4 BLE. If enabled, the device will use the `PRODUCT` and `DESCRIPTION` values from `config.h` for the device name displayed by the Feather on host devices. You can simply change these values to change the device name.
 
 
-### Pins
-----
+## Pins
+
 This port utilizes the same pins that the TMK converter used. `PD1` is used for `CLOCK` and `PD0` is used for the `DATA` from the keyboard. These pins can be changed in `config.h`.
 
 
-### Other important hardware notes from the original TMK converter Readme:
+## Other important hardware notes from the original TMK converter Readme:
 >### Hardware
 >--------
 >You can buy preassembled [TMK converter] or make yourown with AVR dev board like PJRC [Teensy].
@@ -45,7 +45,7 @@ This port utilizes the same pins that the TMK converter used. `PD1` is used for
 [**View the original TMK converter Repository**](https://github.com/tmk/tmk_keyboard/tree/master/converter/m0110_usb)
 
 
-### QMK Port Changelog
----------
+## QMK Port Changelog
+
 - 2018/08/01 - Original Release
 

+ 172 - 0
keyboards/converter/m0110_usb/info.json

@@ -0,0 +1,172 @@
+{
+  "keyboard_name": "M0110(A) keyboard converter",
+  "url": "",
+  "maintainer": "qmk",
+  "width": 19.25,
+  "height": 5,
+  "layouts": {
+    "LAYOUT_ansi": {
+      "key_count": 78,
+      "layout": [
+        {"label":"`", "x":0, "y":0},
+        {"label":"1", "x":1, "y":0},
+        {"label":"2", "x":2, "y":0},
+        {"label":"3", "x":3, "y":0},
+        {"label":"4", "x":4, "y":0},
+        {"label":"5", "x":5, "y":0},
+        {"label":"6", "x":6, "y":0},
+        {"label":"7", "x":7, "y":0},
+        {"label":"8", "x":8, "y":0},
+        {"label":"9", "x":9, "y":0},
+        {"label":"0", "x":10, "y":0},
+        {"label":"-", "x":11, "y":0},
+        {"label":"=", "x":12, "y":0},
+        {"label":"Backspace", "x":13, "y":0, "w":1.5},
+        {"label":"Num Lock", "x":15.25, "y":0},
+        {"label":"=", "x":16.25, "y":0},
+        {"label":"/", "x":17.25, "y":0},
+        {"label":"*", "x":18.25, "y":0},
+        {"label":"Tab", "x":0, "y":1, "w":1.5},
+        {"label":"Q", "x":1.5, "y":1},
+        {"label":"W", "x":2.5, "y":1},
+        {"label":"E", "x":3.5, "y":1},
+        {"label":"R", "x":4.5, "y":1},
+        {"label":"T", "x":5.5, "y":1},
+        {"label":"Y", "x":6.5, "y":1},
+        {"label":"U", "x":7.5, "y":1},
+        {"label":"I", "x":8.5, "y":1},
+        {"label":"O", "x":9.5, "y":1},
+        {"label":"P", "x":10.5, "y":1},
+        {"label":"[", "x":11.5, "y":1},
+        {"label":"]", "x":12.5, "y":1},
+        {"label":"7", "x":15.25, "y":1},
+        {"label":"8", "x":16.25, "y":1},
+        {"label":"9", "x":17.25, "y":1},
+        {"label":"-", "x":18.25, "y":1},
+        {"label":"Caps Lock", "x":0, "y":2, "w":1.75},
+        {"label":"A", "x":1.75, "y":2},
+        {"label":"S", "x":2.75, "y":2},
+        {"label":"D", "x":3.75, "y":2},
+        {"label":"F", "x":4.75, "y":2},
+        {"label":"G", "x":5.75, "y":2},
+        {"label":"H", "x":6.75, "y":2},
+        {"label":"J", "x":7.75, "y":2},
+        {"label":"K", "x":8.75, "y":2},
+        {"label":"L", "x":9.75, "y":2},
+        {"label":";", "x":10.75, "y":2},
+        {"label":"'", "x":11.75, "y":2},
+        {"label":"Enter", "x":12.75, "y":2, "w":1.75},
+        {"label":"4", "x":15.25, "y":2},
+        {"label":"5", "x":16.25, "y":2},
+        {"label":"6", "x":17.25, "y":2},
+        {"label":"+", "x":18.25, "y":2},
+        {"label":"Shift", "x":0, "y":3, "w":2.25},
+        {"label":"Z", "x":2.25, "y":3},
+        {"label":"X", "x":3.25, "y":3},
+        {"label":"C", "x":4.25, "y":3},
+        {"label":"V", "x":5.25, "y":3},
+        {"label":"B", "x":6.25, "y":3},
+        {"label":"N", "x":7.25, "y":3},
+        {"label":"M", "x":8.25, "y":3},
+        {"label":",", "x":9.25, "y":3},
+        {"label":".", "x":10.25, "y":3},
+        {"label":"/", "x":11.25, "y":3},
+        {"label":"Up", "x":13.5, "y":3},
+        {"label":"1", "x":15.25, "y":3},
+        {"label":"2", "x":16.25, "y":3},
+        {"label":"3", "x":17.25, "y":3},
+        {"label":"Enter", "x":18.25, "y":3, "h":2},
+        {"label":"Alt", "x":0, "y":4, "w":1.5},
+        {"label":"GUI", "x":1.5, "y":4, "w":2},
+        {"label":"Space", "x":3.5, "y":4, "w":6},
+        {"label":"MO(1)", "x":9.5, "y":4},
+        {"label":"\\", "x":10.5, "y":4},
+        {"label":"Left", "x":11.5, "y":4},
+        {"label":"Right", "x":12.5, "y":4},
+        {"label":"Down", "x":13.5, "y":4},
+        {"label":"0", "x":15.25, "y":4, "w":2},
+        {"label":".", "x":17.25, "y":4}
+      ]
+    },
+    "LAYOUT_iso": {
+      "key_count": 75,
+      "layout": [
+        {"label":"`", "x":0, "y":0},
+        {"label":"1", "x":1, "y":0},
+        {"label":"2", "x":2, "y":0},
+        {"label":"3", "x":3, "y":0},
+        {"label":"4", "x":4, "y":0},
+        {"label":"5", "x":5, "y":0},
+        {"label":"6", "x":6, "y":0},
+        {"label":"7", "x":7, "y":0},
+        {"label":"8", "x":8, "y":0},
+        {"label":"9", "x":9, "y":0},
+        {"label":"0", "x":10, "y":0},
+        {"label":"-", "x":11, "y":0},
+        {"label":"=", "x":12, "y":0},
+        {"label":"Backspace", "x":13, "y":0, "w":1.5},
+        {"label":"Num Lock", "x":15.25, "y":0},
+        {"label":"=", "x":16.25, "y":0},
+        {"label":"/", "x":17.25, "y":0},
+        {"label":"*", "x":18.25, "y":0},
+        {"label":"Tab", "x":0, "y":1, "w":1.5},
+        {"label":"Q", "x":1.5, "y":1},
+        {"label":"W", "x":2.5, "y":1},
+        {"label":"E", "x":3.5, "y":1},
+        {"label":"R", "x":4.5, "y":1},
+        {"label":"T", "x":5.5, "y":1},
+        {"label":"Y", "x":6.5, "y":1},
+        {"label":"U", "x":7.5, "y":1},
+        {"label":"I", "x":8.5, "y":1},
+        {"label":"O", "x":9.5, "y":1},
+        {"label":"P", "x":10.5, "y":1},
+        {"label":"[", "x":11.5, "y":1},
+        {"label":"]", "x":12.5, "y":1},
+        {"label":"Return", "x":13.75, "y":1, "w":0.75, "h":2},
+        {"label":"7", "x":15.25, "y":1},
+        {"label":"8", "x":16.25, "y":1},
+        {"label":"9", "x":17.25, "y":1},
+        {"label":"-", "x":18.25, "y":1},
+        {"label":"Caps Lock", "x":0, "y":2, "w":1.75},
+        {"label":"A", "x":1.75, "y":2},
+        {"label":"S", "x":2.75, "y":2},
+        {"label":"D", "x":3.75, "y":2},
+        {"label":"F", "x":4.75, "y":2},
+        {"label":"G", "x":5.75, "y":2},
+        {"label":"H", "x":6.75, "y":2},
+        {"label":"J", "x":7.75, "y":2},
+        {"label":"K", "x":8.75, "y":2},
+        {"label":"L", "x":9.75, "y":2},
+        {"label":";", "x":10.75, "y":2},
+        {"label":"'", "x":11.75, "y":2},
+        {"label":"#", "x":12.75, "y":2},
+        {"label":"4", "x":15.25, "y":2},
+        {"label":"5", "x":16.25, "y":2},
+        {"label":"6", "x":17.25, "y":2},
+        {"label":"+", "x":18.25, "y":2},
+        {"label":"Shift", "x":0, "y":3, "w":1.25},
+        {"label":"\\", "x":1.25, "y":3},
+        {"label":"Z", "x":2.25, "y":3},
+        {"label":"X", "x":3.25, "y":3},
+        {"label":"C", "x":4.25, "y":3},
+        {"label":"V", "x":5.25, "y":3},
+        {"label":"B", "x":6.25, "y":3},
+        {"label":"N", "x":7.25, "y":3},
+        {"label":"M", "x":8.25, "y":3},
+        {"label":",", "x":9.25, "y":3},
+        {"label":".", "x":10.25, "y":3},
+        {"label":"/", "x":11.25, "y":3},
+        {"label":"1", "x":15.25, "y":3},
+        {"label":"2", "x":16.25, "y":3},
+        {"label":"3", "x":17.25, "y":3},
+        {"label":"Enter", "x":18.25, "y":3, "h":2},
+        {"label":"Option", "x":1, "y":4},
+        {"label":"GUI", "x":2, "y":4, "w":1.5},
+        {"label":"Space", "x":3.5, "y":4, "w":7.5},
+        {"label":"Enter", "x":11, "y":4, "w":1.5},
+        {"label":"0", "x":15.25, "y":4, "w":2},
+        {"label":".", "x":17.25, "y":4}
+      ]
+    }
+  }
+}