mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Keyboard support prep
This commit is contained in:
parent
dccb7bafdd
commit
45846e4c95
5 changed files with 17 additions and 0 deletions
|
@ -40,6 +40,11 @@ void ShowAd(int x, int y, bool center_x) {
|
|||
ELOG("TODO! ShowAd!");
|
||||
}
|
||||
|
||||
void ShowKeyboard() {
|
||||
frameCommand = "showkeyboard";
|
||||
frameCommandParam = "";
|
||||
}
|
||||
|
||||
void Vibrate(int length_ms) {
|
||||
frameCommand = "vibrate";
|
||||
frameCommandParam = "100";
|
||||
|
|
|
@ -55,6 +55,7 @@ void NativeShutdown();
|
|||
// These APIs must be implemented by every port (for example app-android.cpp, PCMain.cpp).
|
||||
// You are free to call these.
|
||||
void SystemToast(const char *text);
|
||||
void ShowKeyboard();
|
||||
void ShowAd(int x, int y, bool center_x);
|
||||
void Vibrate(int length_ms);
|
||||
void LaunchBrowser(const char *url);
|
||||
|
|
|
@ -34,6 +34,10 @@ void ShowAd(int x, int y, bool center_x) {
|
|||
// Ignore ads on PC
|
||||
}
|
||||
|
||||
void ShowKeyboard() {
|
||||
// Irrelevant on PC
|
||||
}
|
||||
|
||||
void Vibrate(int length_ms) {
|
||||
// Ignore on PC
|
||||
}
|
||||
|
|
|
@ -138,6 +138,10 @@
|
|||
<ClInclude Include="ui\ui.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="android\app-android.cpp">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="audio\mixer.cpp" />
|
||||
<ClCompile Include="audio\wav_read.cpp" />
|
||||
<ClCompile Include="base\colorutil.cpp" />
|
||||
|
|
|
@ -275,6 +275,9 @@
|
|||
<ClCompile Include="file\dialog.cpp">
|
||||
<Filter>file</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="android\app-android.cpp">
|
||||
<Filter>base</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Filter Include="gfx">
|
||||
|
|
Loading…
Add table
Reference in a new issue