Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android: Convert "features.input" package to Kotlin #11919

Merged
merged 27 commits into from Aug 26, 2023

Conversation

t895
Copy link
Contributor

@t895 t895 commented Jun 10, 2023

No description provided.

Copy link
Contributor

@K0bin K0bin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not gonna pretend like I thoroughly reviewed this chungus but I skimmed over it and it looks fine.

@t895 t895 force-pushed the kotlin-controls branch 5 times, most recently from 3cadff7 to d1fb82f Compare August 25, 2023 16:59
@t895
Copy link
Contributor Author

t895 commented Aug 25, 2023

Just got through the review. I'm gonna do another quick once over and then we'll be good to go.

@t895
Copy link
Contributor Author

t895 commented Aug 25, 2023

Got some code style changes in and turns out I'm able to just use @Keep for the outer class to keep both an outer and inner class for brevity. Should be good to go now.

@JosJuice
Copy link
Member

Just to double check that everything is working correctly with @Keep, please check that the controller config is working in a release build. LGTM otherwise.

@t895
Copy link
Contributor Author

t895 commented Aug 25, 2023

Ooh good catch (I've been working with Citra and yuzu a lot lately and the default build flavor uses minify 😅). Turns out I was slightly wrong. For CoreDevice and its inner class Control I have to mark both of them with @Keep but I don't have to individually mark the constructor and their member. Should be all good now.

@JosJuice JosJuice merged commit f995965 into dolphin-emu:master Aug 26, 2023
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants