Просмотр исходного кода

Merge airmouse from https://github.com/xMasterX/all-the-plugins

Willy-JL 2 лет назад
Родитель
Сommit
488196c783

+ 0 - 35
airmouse/CHANGELOG.md

@@ -1,35 +0,0 @@
-# Changelog
-
-## v0.0.6 (2023-08-09)
-
-**Fix firmware 0.88 issues**
-
-## v0.0.5 (2023-06-18)
-
-**Closed issues:**
-
-- Error on firmware 0.77.1
-- Flipper Z with airmouse like LG pilot on Android TV
-- PINOUT
-- Noob Question
-- BMI160 alternative?
-
-## v0.0.4 (2023-01-22)
-
-**Closed issues:**
-
-- Request: change directional buttons
-
-**Merged pull requests:**
-
-- Manifest build sources
-
-## v0.0.3 (2022-12-30)
-
-**Closed issues:**
-
-- Firmware requirement?
-
-**Merged pull requests:**
-
-- adjust button function \(add scrolling\)

+ 0 - 29
airmouse/DESCRIPTION.md

@@ -1,29 +0,0 @@
-# Flipper Air Mouse
-
-## What?
-
-The app allows you to turn your Flipper into a USB or Bluetooth air mouse (you do need an extra module, see the Hardware section below)...
-
-Using it is really simple:
- * Connect the Flipper via a USB cable and pick USB, or pick Bluetooth and pair it with your PC;
- * Hold the Flipper in your hand with the buttons pointing towards the screen;
- * Wave your Flipper like you don't care to move the cursor;
- * Up button for Left mouse click;
- * Down button for Right mouse click;
- * Center button for Middle mouse click;
- * Left and Right buttons for scrolling;
- * Use calibration menu option if you notice significant drift (place your Flipper onto a level surface, make sure it doesn't move, run this option, wait 2 seconds, done).
-
-## Hardware
-
-The custom module is using Bosch BMI160 accelerometer/gyroscope chip connected via I2C.
-
-Take a look into the schematic folder for Gerber, BOM and CPL files, so you can order directly from JLCPCB.
-
-## Software
-
-The code is based on the original Bosch driver and an orientation tracking implementation from the Google Cardboard project
-
-## License
-
-TL;DR: Use the code however you want, give credit where it's due, no warranty of any kind is provided.

+ 0 - 2
airmouse/README.md

@@ -1,7 +1,5 @@
 # Flipper Air Mouse
 # Flipper Air Mouse
 
 
-[![FlipC.org](https://flipc.org/ginkage/FlippAirMouse/badge)](https://flipc.org/ginkage/FlippAirMouse)
-
 ## Brief
 ## Brief
 
 
 > "You can turn anything into an air mouse if you're brave enough"
 > "You can turn anything into an air mouse if you're brave enough"

+ 0 - 2
airmouse/air_mouse.c

@@ -2,8 +2,6 @@
 #include <storage/storage.h>
 #include <storage/storage.h>
 
 
 #include <furi.h>
 #include <furi.h>
-#include <dolphin/dolphin.h>
-
 #include "tracking/imu/imu.h"
 #include "tracking/imu/imu.h"
 
 
 #define TAG "AirMouseApp"
 #define TAG "AirMouseApp"

+ 1 - 1
airmouse/application.fam

@@ -5,7 +5,7 @@ App(
     entry_point="air_mouse_app",
     entry_point="air_mouse_app",
     stack_size=10 * 1024,
     stack_size=10 * 1024,
     fap_category="GPIO",
     fap_category="GPIO",
-    fap_icon="icon.png",
+    fap_icon="mouse_10px.png",
     fap_version="0.8",
     fap_version="0.8",
     sources=["*.c", "*.cc"],
     sources=["*.c", "*.cc"],
 )
 )

BIN
airmouse/icon.png


BIN
airmouse/mouse_10px.png


+ 0 - 5
airmouse/schematic/airmouse_bom.csv

@@ -1,5 +0,0 @@
-ID	Name	Designator	Footprint	Quantity	Manufacturer Part	Manufacturer	Supplier	Supplier Part	Price
-"1"	"100nF"	"C1"	"C0603"	"1"	"CC0603KRX7R9BB104"	"YAGEO"	"LCSC"	"C14663"	""
-"2"	"Header-Male-2.54_1x10"	"H1"	"HDR-TH_10P-P2.54-V-M-1"	"1"	"Headers  Pins2.54mm1*10P"	""	"LCSC"	"C57369"	""
-"3"	"3.9kΩ"	"R1,R2,R3,R4"	"R0603"	"4"	"0603WAF3901T5E"	"UNI-ROYAL(Uniroyal Elec)"	"LCSC"	"C23018"	""
-"4"	"BMI160"	"U1"	"LGA-14_L3.0-W2.5-P0.50-BL"	"1"	"BMI160"	"Bosch"	"LCSC"	"C94021"	""

+ 0 - 8
airmouse/schematic/airmouse_cpl.csv

@@ -1,8 +0,0 @@
-Designator	Footprint	Mid X	Mid Y	Ref X	Ref Y	Pad X	Pad Y	Layer	Rotation	Comment
-"C1"	"C0603"	"22.86mm"	"-6.86mm"	"22.86mm"	"-6.86mm"	"22.16mm"	"-6.86mm"	"T"	"0"	"100nF"
-"H1"	"HDR-TH_10P-P2.54-V-M-1"	"13.97mm"	"-2.54mm"	"13.97mm"	"-2.54mm"	"25.4mm"	"-2.54mm"	"B"	"180"	"Header-Male-2.54_1x10"
-"R1"	"R0603"	"7.62mm"	"-6.86mm"	"7.62mm"	"-6.86mm"	"7.62mm"	"-7.61mm"	"T"	"90"	"3.9kΩ"
-"R2"	"R0603"	"5.08mm"	"-6.86mm"	"5.08mm"	"-6.86mm"	"5.08mm"	"-7.61mm"	"T"	"90"	"3.9kΩ"
-"R3"	"R0603"	"10.16mm"	"-6.86mm"	"10.16mm"	"-6.86mm"	"10.16mm"	"-7.61mm"	"T"	"90"	"3.9kΩ"
-"R4"	"R0603"	"17.78mm"	"-6.86mm"	"17.78mm"	"-6.86mm"	"17.78mm"	"-6.1mm"	"T"	"270"	"3.9kΩ"
-"U1"	"LGA-14_L3.0-W2.5-P0.50-BL"	"13.97mm"	"-6.86mm"	"13.97mm"	"-6.86mm"	"12.58mm"	"-6.11mm"	"T"	"270"	"BMI160"

BIN
airmouse/schematic/airmouse_gerber.zip


BIN
airmouse/schematic/flipper.jpg


BIN
airmouse/schematic/render.png


BIN
airmouse/schematic/schematic.png


BIN
airmouse/screenshot1.png


BIN
airmouse/screenshot2.png


BIN
airmouse/screenshot3.png