Posts: 5,184
Joined: Jan 2009
Reputation:
131
Figured out how to setup the input device callbacks which are now forwarded to CPeripheralBusAndroid so no polling needed on android.
Now the next step is to revive the joystick input logic and forward the input evens appropriately.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 1,506
Joined: Nov 2013
i still don't get why this has to be done in core and all other handling is done in the add-on.
Posts: 1,506
Joined: Nov 2013
makes sense. i naively thought this would be exposed through the ndk.
Posts: 5,184
Joined: Jan 2009
Reputation:
131
2016-02-11, 09:56
(This post was last modified: 2016-02-11, 09:56 by Montellese.)
Well input events are, haven't checked for the input manager and listener stuff but it's still bound to the main activity.
NVidia seems to have some kind of native controller support library (for Shield TV) but haven't had the time to look into it yet.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 5,184
Joined: Jan 2009
Reputation:
131
After a few more hours and stealing a lot of code from the peripheral addon stuff I have the buttions (A, B, X, Y, Back, Menu, Left Shoulder, Right Shoulder, Left Stick, Right Stick) working. Now to the D-Pad :-)
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 5,184
Joined: Jan 2009
Reputation:
131
OK I got everything working and now I just need to clean up all the commits etc.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 2,942
Joined: Dec 2010
Reputation:
291
garbear
Team-Kodi Developer
Posts: 2,942
cool. anything else blocking the controller input PR? once this is in, I can start rebasing the rest of retroplayer so we can get it running on android
Posts: 5,184
Joined: Jan 2009
Reputation:
131
What's the status on iOS? Does it compile but is missing specific joystick support? Unfortunately I won't be able to help out on that.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 2,942
Joined: Dec 2010
Reputation:
291
garbear
Team-Kodi Developer
Posts: 2,942
as long as iOS compiles, we can add support for the gamepad controller framework later