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

Add on-screen keyboard example #71

Merged
merged 2 commits into from
Jun 13, 2020
Merged

Conversation

sergiou87
Copy link

@sergiou87 sergiou87 commented Jun 11, 2020

While working on the PS3 port of OpenSupaplex, I missed having an example of usage of the on-screen keyboard. Luckily, RetroArch used to have support for it and I could learn how to make it work.

This PR adds an osk example with what I have learned, and also one constant to detect when the user dismisses/cancels the osk. There are a few more constants here: https://github.com/Lexaundre/rpcs3-test/blob/196f985283adf08de5ba48c7377804f420a3b843/rpcs3/Emu/Cell/Modules/cellOskDialog.h#L23

But I don't know what they mean and I haven't needed them, so I decided to leave them out.

samples/Makefile Outdated
@@ -1,4 +1,4 @@
TARGETS := audio graphics input network spu sys
TARGETS := audio graphics input network osk spu sys

Copy link
Member

Choose a reason for hiding this comment

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

This should go into samples/sys/Makefile, otherwise it will not work...

@zeldin
Copy link
Member

zeldin commented Jun 13, 2020

Thanks for your contribution. If you just fix the samples/osk versus samples/sys/osk confusion
I think it's good to merge.

@sergiou87
Copy link
Author

Oops! 🤦‍♂️ I just fixed my dumb mistake, sorry about that @zeldin 😓

@zeldin zeldin merged commit 7b40dec into ps3dev:master Jun 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants