Sfoglia il codice sorgente

mouse input fix

undefined
Benjamin ‘Touky’ Huet Sam Hocevar <sam@hocevar.net> 11 anni fa
parent
commit
e04367b138
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/platform/nacl/nacl-instance.cpp

+ 1
- 1
src/platform/nacl/nacl-instance.cpp Vedi File

@@ -196,7 +196,7 @@ void NaClInputData::Tick(float seconds)
{
/* TODO: "InScreen" idx hardcoded, not nice */
pp::MouseInputEvent em = pp::MouseInputEvent(e);
m_mouse->SetKey(3, em.GetType() == PP_INPUTEVENT_TYPE_MOUSELEAVE);
m_mouse->SetKey(3, em.GetType() == PP_INPUTEVENT_TYPE_MOUSEENTER);
break;
}
case PP_INPUTEVENT_TYPE_MOUSEMOVE:


Caricamento…
Annulla
Salva