Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Rafucho25/numeric-keyboard-amazfit-devices
Numeric keyboard for amazfit band 7, gts 4, gts 4 mini and gts 3 with zepp os v1
https://github.com/Rafucho25/numeric-keyboard-amazfit-devices
amazfit band7 gts3 gts4 gts4mini javascript keyboard zepp zeppos
Last synced: about 2 months ago
JSON representation
Numeric keyboard for amazfit band 7, gts 4, gts 4 mini and gts 3 with zepp os v1
- Host: GitHub
- URL: https://github.com/Rafucho25/numeric-keyboard-amazfit-devices
- Owner: Rafucho25
- Created: 2023-01-09T15:51:11.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-02-12T03:26:53.000Z (almost 2 years ago)
- Last Synced: 2024-08-02T20:45:47.574Z (5 months ago)
- Topics: amazfit, band7, gts3, gts4, gts4mini, javascript, keyboard, zepp, zeppos
- Language: JavaScript
- Homepage:
- Size: 45.9 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-zeppos - numeric-keyboard-amazfit-devices - A simple numeric keyboard for amazfit band 7, GTS 4, GTS 4 mini and GTS 3. (Libraries / Lib)
README
# Numeric keyboard for amazfit devices
A simple numeric keyboard for amazfit band 7, GTS 4, GTS 4 mini and GTS 3.
## How to install
* Download the utils folder at the same level as the page folder.
## How it works
* The constructor accept one parameter: the coordinate "y" of the keyboard this is for example if you want to display something before the keyboard you can.
* You can use the file example.js(put in the page folder) to see the keyboard in action## How to use(example for band 7)
* Add this line to the page you want to display the keyboard:
```javascript
import { keyboard_band7 } from '../utils/keyboard' //add or remove ../ depends of your page folder location
```
* Create an instance:
```javascript
const keyboard = new keyboard_band7()
```
* Get text:
```javascript
keyboard.text_value
```* For GTS 4 and gts 3:
```javascript
import { keyboard_gts3_4 } from '../utils/keyboard'
```* For GTS 4 mini:
```javascript
import { keyboard_gts4_mini } from '../utils/keyboard'
```## Screenshot
Default
Parameter "y" = 100## Notes
This is my first project using javascript so maybe there are ways to improve the quality of the code.Let me know if you have any ideas or recommendations to improve.