33 Commits

Author SHA1 Message Date
C.Lee Taylor
b7473bdc5f just some formatting 2025-08-12 13:22:20 +02:00
C.Lee Taylor
cd2e7e3a70 Update set char values to use const char 2025-08-12 12:51:22 +02:00
C.Lee Taylor
020a337101 Cast char* to const char*, resolve warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2025-04-27 19:20:18 +02:00
lemmingDev
ad6e6806d5 Add optional Nordic UART Service
Examples still to come
2025-02-25 10:09:19 +09:00
lemmingDev
f3c97cc21c Fix variable scope and remove unneeded ones 2025-02-17 12:39:18 +09:00
lemmingDev
62e8597edc Support setting Battery Power State 0x2A1A values
Use nRF Connect on Android to test
2025-02-15 12:55:44 +09:00
lemmingDev
38098665ee Change axes order
Updated defaults of setWhichAxes and setAxes to x, y, z, rx, ry, rz

Added new function setHIDAxes(x, y, z, rz, rx, ry)

Added new function setRightThumbAndroid(z, rx) to compliment the existing setRightThumb(z, rz)
2025-02-07 13:18:36 +09:00
lemmingDev
0065833f00 Add gyroscope, accelerometer and fix left thumbstick in config 2025-02-01 21:51:44 +09:00
lemmingDev
c48ca5df8f TX power level can now be set
TX power level can now be set either initially using the configuration system eg. bleGamepadConfig.setTXPowerLevel(txPowerLevel);  
Defaults to 9 if not set
Range: -12 to 9 dBm and the only valid values are: -12, -9, -6, -3, 0, 3, 6 and 9

TX power can also be set at any time using bleGamepad.setTXPower(int8_t)

You can also get the current TX power level by using bleGamepad.getTXPower(int8_t)
2025-01-31 16:26:25 +09:00
lemmingDev
22603ae878 Can now get peer connection info and device configuration info
See GetPeerInfo.ino example for details
2025-01-31 13:00:46 +09:00
lemmingDev
0539bf5fd7 Update BleGamepadConfiguration.cpp 2025-01-29 20:41:27 +09:00
lemmingDev
e6755d965f Update BleGamepadConfiguration.cpp 2025-01-25 13:46:19 +09:00
lemmingDev
4b49c5c383 Update BleGamepadConfiguration.cpp 2025-01-24 19:16:16 +09:00
lemmingDev
55e031dcf1 Update BleGamepadConfiguration.cpp 2025-01-24 17:34:11 +09:00
lemmingDev
203da613a9 Update BleGamepadConfiguration.cpp 2025-01-12 11:12:57 +09:00
lemmingDev
16b29ba9d1 Update BleGamepadConfiguration.cpp 2025-01-06 12:21:13 +09:00
lemmingDev
a60981da03 Update BleGamepadConfiguration.cpp 2024-12-16 21:13:14 +10:00
lemmingDev
b819fa8500 Update BleGamepadConfiguration.cpp 2024-12-02 21:09:17 +10:00
lemmingDev
2723e76a3f Fix missing comma 2024-11-28 13:56:57 +10:00
lemmingDev
29ca3b527e Update BleGamepadConfiguration.cpp 2024-11-23 22:24:03 +10:00
Sab1e
cdf05b3fcc Add Output Report Function
Added Output Report function and provided examples.
2024-11-20 21:53:22 +08:00
lemmingDev
777a277d11 Update BleGamepadConfiguration.cpp
Formatting and bump hardware number
2024-03-16 06:47:08 +10:00
Benjamin
4ac2cd8376 make guid version editable 2023-03-05 02:08:31 +01:00
lemmingDev
884ddba409 Add more configurable BLE characteristics 2022-09-27 09:54:51 +10:00
lemmingDev
adb6fc62f7 v 5.0 adds configurable min/max axes values 2022-08-21 08:49:28 +10:00
lemmingDev
a72dc96ada Fix setWhichAxes to correctly set slider1 and slider2 2022-05-27 04:25:57 +10:00
lemmingDev
f677fdb06c Set Select and Start buttons, along with all other special buttons, disabled by default 2022-05-27 04:10:12 +10:00
lemmingDev
6dc9bd32a9 Add ability to specify custom VID and PID via BleGamepadConfiguration 2022-05-05 19:36:58 +10:00
Hagedoorn, J.P. (pieter)
4c5db6a8bf fixed the warinings 2022-05-01 16:42:12 +02:00
dexterdy
415dafe0b8 ran an autoformatter 2022-04-28 00:11:35 +02:00
dexterdy
90f0bd2884 added my own example 2022-04-27 23:54:58 +02:00
dexterdy
d02b17451d forgot controllertype config 2022-04-27 22:57:51 +02:00
dexterdy
058929632f finished the configuration class 2022-04-27 22:48:56 +02:00