Commit Graph

63 Commits

Author SHA1 Message Date
lemmingDev
b1ea331546 Use memcmp to compare arrays 2025-01-24 17:33:01 +09:00
lemmingDev
7d4407354d Use memcmp to compare arrays to avoid warnings 2025-01-24 17:05:51 +09:00
lemmingDev
d43027a7e6 Update CharacteristicsConfiguration.ino 2025-01-22 10:08:41 +09:00
lemmingDev
c0d180a323 Update CharacteristicsConfiguration.ino
Removed example of how to set a custom MAC address as that functionality seems to have been removed by Espressif
2025-01-22 10:08:22 +09:00
lemmingDev
65c0f7adab Formatting 2025-01-20 07:29:05 +09:00
lemmingDev
4df465ca3b Disable setting MAC address 2025-01-20 07:28:06 +09:00
lemmingDev
4ffb1d429b Update TestReceivingOutputReport.ino 2024-12-02 21:10:07 +10:00
lemmingDev
3bfdc750f1 Update TestReceivingOutputReport.ino now that PID byte swapping is fixed in NimBLE 2024-11-30 09:16:15 +10:00
Sab1e
65ce7c2595 Add link to OutputReportDemo program 2024-11-23 19:14:41 +08:00
Sab1e
cdf05b3fcc Add Output Report Function
Added Output Report function and provided examples.
2024-11-20 21:53:22 +08:00
lemmingDev
ae3029f2b1 Update Fightstick.ino
Add xinput for link
2024-03-16 06:23:50 +10:00
lemmingDev
f2030c0330 Add Fightstick controller example 2024-03-16 06:18:14 +10:00
lemmingDev
3fd1360b91 Fix min\max 2024-02-24 13:21:22 +10:00
lemmingDev
e7773edd57 Fix min/max 2024-02-24 13:20:36 +10:00
lemmingDev
fff571a54b Update SpecialButtons.ino
Fix copy/paste error
2023-06-11 08:04:27 +10:00
lemmingDev
f74c1a521e Update SetBatteryLevel.ino 2022-11-11 05:31:01 +10:00
lemmingDev
af97682c4e Set battery level example added 2022-11-02 06:43:49 +10:00
lemmingDev
884ddba409 Add more configurable BLE characteristics 2022-09-27 09:54:51 +10:00
lemmingDev
7533b377ee Update Gamepad.ino
Typo
2022-09-05 15:45:33 +10:00
lemmingDev
68199dd94f Updated examples 2022-08-21 09:06:31 +10:00
lemmingDev
1a10cb9fb1 Updated examples 2022-08-21 08:57:55 +10:00
lemmingDev
5653383f65 Update Gamepad.ino 2022-05-27 16:36:13 +10:00
lemmingDev
427fd53e54 Update TestAll.ino 2022-05-27 04:58:42 +10:00
lemmingDev
419d085938 Add info to enable special buttons individually 2022-05-27 04:52:43 +10:00
lemmingDev
f245ac6925 Fix typo 2022-05-27 04:43:49 +10:00
lemmingDev
c08b5c68d3 Add example to set custom VID and PID (Vendor ID and Product ID) 2022-05-05 19:34:47 +10:00
dexterdy
e526d263f3 Merge branch 'master' of https://github.com/lemmingDev/ESP32-BLE-Gamepad into lemmingDev-master 2022-05-04 15:17:57 +02:00
dexterdy
49bc392acb added a delay for the specialButton example 2022-05-04 15:08:18 +02:00
dexterdy
14f7ea1af0 fixed special buttons hid report descriptor 2022-05-04 15:07:38 +02:00
dexterdy
51532435b0 removed redundant sendreport(); 2022-05-02 23:55:14 +02:00
dexterdy
20158ac221 fixed the rebooting issue 2022-05-02 23:53:47 +02:00
lemmingDev
ea1876f460 Typo 2022-05-01 03:42:01 +10:00
lemmingDev
6f22301431 Update Gamepad.ino 2022-05-01 03:31:15 +10:00
lemmingDev
665249b8c4 Update Gamepad.ino 2022-05-01 03:30:10 +10:00
lemmingDev
ddce0b4169 Spelling 2022-05-01 03:27:16 +10:00
dexterdy
acee5ab5ea Seperated configuration from base class for convenience. Added support for special buttons (#97)
* added support for start and select button

* Added the things I forgot

* changed header

* edited the main file to add support for the different special buttons

* added the press and release functions

* added stuff to make it more complete. not done yet

* this should do it

* added back button

* made the indentation consistent

* small commit so i can continue on my other pc

* finished the header for the config class

* started working on converting existing code with new config class

* replaced all _include variable with calls to the config class

* fixed constructor

* removed setAutoReport function

* fixed a bunch of dumb mistakes

* fixed a bunch of dumb mistakes

* made the indentation consistent

* small commit so i can continue on my other pc

* finished the header for the config class

* started working on converting existing code with new config class

* replaced all _include variable with calls to the config class

* removed setAutoReport function

* fixed a bunch of dumb mistakes

* added report id to list of configurable options

* actually finished all the getters and setters from the config class

* finished the configuration class

* forgot controllertype config

* updated the examples

* added my own example

* added home test to example

* ran an autoformatter

* added a comment (examples)

* more readable copy-by-value

* fixed circular dependancy problem

* spelling mistake

Co-authored-by: Hagedoorn, J.P. (pieter) <j.p.hagedoorn@students.uu.nl>
2022-05-01 02:14:13 +10:00
dexterdy
4ad35a4234 added a comment (examples) 2022-04-28 14:32:38 +02:00
dexterdy
415dafe0b8 ran an autoformatter 2022-04-28 00:11:35 +02:00
dexterdy
3505a45708 added home test to example 2022-04-27 23:57:16 +02:00
dexterdy
90f0bd2884 added my own example 2022-04-27 23:54:58 +02:00
dexterdy
36085a8fdd updated the examples 2022-04-27 23:34:09 +02:00
lemmingDev
713b2ec118 New example
A new example that shows how to use multiple hats
2021-10-31 05:45:20 +10:00
lemmingDev
439c603141 Correctly press buttons from physicalButtons array 2021-06-28 08:57:15 +10:00
lemmingDev
eb6edf8b6e NimBLE library used as default 2021-06-28 08:43:21 +10:00
lemmingDev
e7b31f9f75 Fix buttons 2021-04-09 22:13:14 +10:00
lemmingDev
53e11c7d91 Update examples for configurable HID 2021-04-09 20:46:45 +10:00
lemmingDev
976f40736f Update SingleButtonDebounce.ino 2021-02-22 08:39:33 +10:00
lemmingDev
b25f1d0c83 Update MultipleButtonsDebounce.ino 2021-02-22 08:39:09 +10:00
lemmingDev
a157a3d3cf Made debouncing more efficient 2021-01-30 07:19:46 +10:00
lemmingDev
e22923f0a0 Added example 2021-01-23 18:02:17 +10:00