Remember to set bit 8 for special events.

This commit is contained in:
James Sanford 2012-10-12 22:02:12 -07:00
parent ce110ffb86
commit 589a28af6a

View File

@ -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));
}
}