mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-18 00:40:30 +02:00
More callback fixes
This commit is contained in:
1 parent
7dfa587fe2
commit
ca300a4dfd
4 files changed
+15
-16
No files matched your search
+5
-1
@@ -177,7 +177,7 @@ EmuScreen::EmuScreen(const Path &filename)
|
||||
startDumping = false;
|
||||
controlMapper_.SetCallbacks(
|
||||
std::bind(&EmuScreen::onVKey, this, _1, _2),
|
||||
[](int vkey, float analogValue) {},
|
||||
std::bind(&EmuScreen::onVKeyAnalog, this, _1, _2),
|
||||
[](uint32_t bitsToSet, uint32_t bitsToClear) {
|
||||
__CtrlSetAllButtons(bitsToSet, bitsToClear);
|
||||
},
|
||||
@@ -763,6 +763,10 @@ void EmuScreen::onVKey(int virtualKeyCode, bool down) {
|
||||
}
|
||||
}
|
||||
|
||||
void EmuScreen::onVKeyAnalog(int virtualKeyCode, float value) {
|
||||
|
||||
}
|
||||
|
||||
bool EmuScreen::key(const KeyInput &key) {
|
||||
Core_NotifyActivity();
|
||||
|
||||
|
||||
Reference in new issue
Block a user