mirror of
https://github.com/jamessanford/kegs.git
synced 2025-04-17 06:37:08 +00:00
Remember to set bit 8 for special events.
This commit is contained in:
parent
ce110ffb86
commit
589a28af6a
@ -177,7 +177,7 @@ class KegsView extends SurfaceView implements SurfaceHolder.Callback {
|
||||
public void setStartupSlot(int slot) {
|
||||
if (slot >= 0 && slot <= 9) {
|
||||
// Special event, see android_driver.c:x_key_special()
|
||||
mEventQueue.add(new Event.KeyKegsEvent(slot + 10, true));
|
||||
mEventQueue.add(new Event.KeyKegsEvent(slot + 10 + 0x80, true));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user