1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-04-26 13:48:49 +08:00

48 Commits

Author SHA1 Message Date
Thomas Kohler
7f78edefcd
lint(all): fix issues of errorlint etc (#1037) 2023-11-15 20:51:52 +01:00
Ron Evans
cd653e9ea1
joystick(core): replace sdl with 0xcafed00d/joystick package (#988) 2023-09-23 12:32:31 +02:00
Thomas Kohler
f5d8d5c601
all(style) : fix linter issues for errcheck, ineffassign, unused and fix errors (#950) 2023-06-12 19:51:25 +02:00
dlstjq7685
8b20c453e0
all: substitute deprecated ioutil methods (#923) 2023-06-10 19:25:01 +02:00
Thomas Kohler
865e724af0
Build(v2): revert move to v2 subfolder (#932)
* revert move to v2 subfolder
* fix CI and adjust CHANGELOG
2023-05-29 19:23:28 +02:00
Thomas Kohler
d908619462
Build(v2): fix usage by moving code to a v2 subfolder (#927) 2023-05-22 19:35:36 +02:00
Thomas Kohler
949392d8a7
Fix(core): Semantic Import Versioning for v2 (#921) 2023-05-20 14:25:21 +02:00
Thomas Kohler
fcdf286f1d
Fix(build): linter findings of "gosimple", "govet" and "staticcheck" (#917)
Fix also encoder and dps overflow in gopigo3 "GetMotorStatus()". Problem found by "staticcheck".
2023-05-19 14:16:22 +02:00
Andrew Regner
c9a91720ea
Add configuration for Nintendo Switch controllers (#903) 2023-03-23 19:14:02 +01:00
Jordi Íñigo Griera
b6f70b3e8b
Added support for Dualsense joystick (PlayStation 5) (#880)
* Dualsense base files copied from Dualshock4
* Buttons and axis corrected for Sony Dualsense
2022-11-09 18:24:58 +01:00
Thomas Kohler
65d06fc961 Joystick add Xbox-One controller 2022-10-21 18:57:27 +02:00
Mikael Manukyan
8cbd0eacf3 Add configuration for Nvidia Shield Controller 2020-11-28 00:38:44 +01:00
Ron Evans
261400d325 joystick: provide constant values for existing joystick configurations
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-25 18:02:01 +02:00
dandua98
21088b5ef0 [#574] added error handling for config loading in joystick driver 2018-08-04 23:07:02 -04:00
Ron Evans
ed867b98b9
Merge pull request #555 from imathno/fix-DPAD
Fix joystick driver to detect dpad input for xbox controllers
2018-05-25 11:12:43 +02:00
Issa Mathno
9edbf547c8 Fix joystick_driver to detect dpad input for xbox controllers 2018-05-23 23:56:58 -07:00
Ron Evans
441a35093f
Merge pull request #525 from SMerrony/add-tflight-hotas-x-controller
Add tflight hotas x controller
2018-05-09 12:34:05 +02:00
Stephen Merrony
48c6cd4297 Add T-Flight Hotas X flight controoller 2018-05-08 07:25:37 +01:00
morfeo8marc
f66139346d joystick: add xbox360 rock band drums controller
Signed-off-by: morfeo8marc <morfeo8marc@gmail.com>
2018-05-07 23:46:17 +02:00
Ron Evans
026d3000d5 Merge branch 'feature/fileless-joystick' into dev 2018-04-14 13:35:12 +02:00
Ron Evans
f9bb5a3ae6 joystick: able to configure joysticks without external json file
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-14 13:34:28 +02:00
Jordi Íñigo
4ddb2b9089 joystick: removed double release event
Signed-off-by: Jordi Íñigo <jig@safelayer.com>
2018-04-14 12:33:38 +02:00
deadprogram
762cb95375 joystick: use new improved default namer to avoid API conflicts
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-02 16:24:48 +01:00
deadprogram
953c3254e7 core: use canonical import domain of gobot.io for all code
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-08 13:24:03 +01:00
deadprogram
af21d98074 core: update Joystick platform to simply return error
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-11-07 21:29:51 +01:00
deadprogram
07f674955b core: Ensure that all drivers have default names
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-03 19:06:37 +02:00
deadprogram
f6e655d91f core: Refactor Joystick platform for new Adaptor/Driver creation signatures
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-09-25 21:07:36 +02:00
deadprogram
c64a0d9481 core: Refactoring to allow 'metal' development using Gobot adaptors/drivers.
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-09-12 21:33:14 +02:00
deadprogram
a64f56d479 tests: refactor test interfaces out of implementations and into the tests where they belong
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-08-26 14:23:03 +02:00
Damian Gryski
a8ea32ce56 Fix misspellings 2016-07-13 10:44:47 -06:00
Krishna Chaitanya
e84326b129 Fix for analog (quick changes lag)
This fixes analog lag issue.
2016-02-22 04:54:17 +05:30
deadprogram
556159070c Use main go-sdl fork from @veandco to pickup any upstream changes 2016-02-20 14:27:24 -08:00
Adrian Zankich
9bfed1800f go lint and documentation tweaks for the joystick package 2015-01-03 05:06:08 -08:00
Adrian Zankich
c16993ab05 Fix stack trace on close 2014-12-23 01:20:44 -08:00
Adrian Zankich
7050410217 Add optional interval parameter for drivers which poll at an interval 2014-11-28 18:37:03 -08:00
Adrian Zankich
c1ce92f582 Refactor joystick to use new driver and adaptor interfaces 2014-11-22 19:54:32 -08:00
Adrian Zankich
586507a489 Update Adaptor and Driver interface to use []error 2014-11-19 23:21:35 -08:00
Adrian Zankich
acbc388378 Update joystick package error handling 2014-11-19 15:45:59 -08:00
Adrian Zankich
abc1f0b201 Update platforms to support the new Driver and Adaptor interfaces 2014-11-16 12:25:48 -08:00
Javier Cervantes
b9c98d0ffd Adding godocs documentation to joystick package 2014-10-22 09:51:26 -05:00
Adrian Zankich
95334434c9 Increase joystick test coverage 2014-07-22 13:55:19 -07:00
Adrian Zankich
d3f22138f0 Clean up drivers 2014-07-09 18:32:27 -07:00
Adrian Zankich
6bb7af07b3 Update joystick package 2014-07-07 17:12:45 -07:00
Adrian Zankich
f77689abe3 The Driver struct now has an Adaptor field 2014-06-15 17:22:50 -07:00
Adrian Zankich
db44941c21 Use new Event type for events 2014-06-11 11:37:20 -07:00
Adrian Zankich
c129da61d3 Make golint happy 2014-06-10 15:16:11 -07:00
Adrian Zankich
02ea69f7e0 Update joystick package and examples 2014-05-22 20:28:26 -07:00
Adrian Zankich
90ee5d7d70 WIP project restructure 2014-04-29 13:20:32 -07:00