summaryrefslogtreecommitdiff
path: root/.pio/libdeps/esp32-s3-n16r8/ESP32 BLE Mouse/examples/MouseButtons
diff options
context:
space:
mode:
Diffstat (limited to '.pio/libdeps/esp32-s3-n16r8/ESP32 BLE Mouse/examples/MouseButtons')
-rw-r--r--.pio/libdeps/esp32-s3-n16r8/ESP32 BLE Mouse/examples/MouseButtons/MouseButtons.ino45
1 files changed, 0 insertions, 45 deletions
diff --git a/.pio/libdeps/esp32-s3-n16r8/ESP32 BLE Mouse/examples/MouseButtons/MouseButtons.ino b/.pio/libdeps/esp32-s3-n16r8/ESP32 BLE Mouse/examples/MouseButtons/MouseButtons.ino
deleted file mode 100644
index 2859377..0000000
--- a/.pio/libdeps/esp32-s3-n16r8/ESP32 BLE Mouse/examples/MouseButtons/MouseButtons.ino
+++ /dev/null
@@ -1,45 +0,0 @@
-/**
- * This example turns the ESP32 into a Bluetooth LE mouse that continuously moves the mouse.
- */
-#include <BleMouse.h>
-
-BleMouse bleMouse;
-
-void setup() {
- Serial.begin(115200);
- Serial.println("Starting BLE work!");
- bleMouse.begin();
-}
-
-void loop() {
- if(bleMouse.isConnected()) {
- Serial.println("Left click");
- bleMouse.click(MOUSE_LEFT);
- delay(500);
-
- Serial.println("Right click");
- bleMouse.click(MOUSE_RIGHT);
- delay(500);
-
- Serial.println("Scroll wheel click");
- bleMouse.click(MOUSE_MIDDLE);
- delay(500);
-
- Serial.println("Back button click");
- bleMouse.click(MOUSE_BACK);
- delay(500);
-
- Serial.println("Forward button click");
- bleMouse.click(MOUSE_FORWARD);
- delay(500);
-
- Serial.println("Click left+right mouse button at the same time");
- bleMouse.click(MOUSE_LEFT | MOUSE_RIGHT);
- delay(500);
-
- Serial.println("Click left+right mouse button and scroll wheel at the same time");
- bleMouse.click(MOUSE_LEFT | MOUSE_RIGHT | MOUSE_MIDDLE);
- delay(500);
-
- }
-} \ No newline at end of file