aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorjakob.stendahl <jakob.stendahl@infomedia.dk>2023-01-15 22:35:42 +0100
committerJakob Stendahl <jakob.stendahl@outlook.com>2023-01-15 22:35:42 +0100
commit3df1a8049dc693fb1a8835d2aafdd57b74aac407 (patch)
tree82b34456f34224a92f36591be908c69a4fddb3eb /README.md
parent216e1259c32c4775768da915b6fea9b8adc5c35f (diff)
downloadmicrobit-gamepad-3df1a8049dc693fb1a8835d2aafdd57b74aac407.tar.gz
microbit-gamepad-3df1a8049dc693fb1a8835d2aafdd57b74aac407.zip
Initial commit
Diffstat (limited to 'README.md')
-rw-r--r--README.md39
1 files changed, 39 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..fbb9203
--- /dev/null
+++ b/README.md
@@ -0,0 +1,39 @@
+# HOVER:BIT Bluetooth Controller software
+This is a webapp for sending DPAD events to micro:bit devices over bluetooth.
+
+It works the best if you install it on your device, usually you should get a prompt to install it when accessing the site.
+
+> Only tested on __Google Chrome__! Will __NOT__ work on Safari or firefox (as they don't support web bluetooth). I have not tested on IOS, but it should work with chrome there as well.
+
+This is a continuation of [HOVER:BIT BLE](https://github.com/JakobST1n/hoverbit-ble), but does not support fine-grained joystick input the way that project did. This is because it is intended to work with the default makecode MES_DPAD events.
+
+## Usage
+### Programming the micro:bit
+You can create your own micro:bit code, and program it any way you are familiar with.
+This app sends MES_DPAD events, so you can add blocks listening for those.
+
+### Controlling the micro:bit
+Navigate to [the progressive web app](https://jakobst1n.github.io/microbit-gamepad/) on a phone, and press connect.
+You should then select your micro:bit from the list of devices, and pair it. Now, the buttons will send events to the
+paired micro:bit.
+
+## Versions
+For the [HOVER:BIT BLE](https://github.com/JakobST1n/hoverbit-ble) project, the versions matter, as they indicate compatability.
+Here you can use them to know wether you have the latest app, but it does not matter apart from that.
+
+## Developing
+To run locally
+```
+npm i
+npm build
+npm run dev
+```
+
+## Contribute
+Fork this repo, and open a pull request. I will then deploy and push to gh-pages.
+
+To deploy
+```
+./deploy.sh <version>
+```
+