In this recipe, we will look at configuring onscreen controls on an Android device.
You need to have run through the prior recipe, or generated the osc.cfg
file, which needs to be named exactly that. Locate the application PublishingUtility.exe
. On my default install, it is located at C:\Program Files (x86)\SCE\PSM\tools\PublishingUtility
. You will also need a PSM project you want to add the controls to.
Load
PublishingUtility.exe
.Locate the Gamepad section and, in the drop-down to the right, set it to
true
.Click on the Save button and save the file as
app.xml
in the same file location asosc.cfg
.In the project you want to add onscreen controls to, add
app.xml
, allowing it to overwrite the default.Also add the file
osc.cfg
, then right-click it in the Solution view and set its Build Action to Content.
You are now complete; when the project is run on an Android device the customized onscreen keyboard will be...