HVKBD_FLAG_COMPOSE
if (!(sc->sc_flags & HVKBD_FLAG_COMPOSE) && sc->sc_composed_char != 0)
if (!(sc->sc_flags & HVKBD_FLAG_COMPOSE) && sc->sc_composed_char > 0) {
if (sc->sc_flags & HVKBD_FLAG_COMPOSE) {
sc->sc_flags &= ~HVKBD_FLAG_COMPOSE;
if (!(sc->sc_flags & HVKBD_FLAG_COMPOSE)) {
sc->sc_flags |= HVKBD_FLAG_COMPOSE;
if (sc->sc_flags & HVKBD_FLAG_COMPOSE) {
sc->sc_flags &= ~HVKBD_FLAG_COMPOSE;
sc->sc_flags &= ~(HVKBD_FLAG_POLLING | HVKBD_FLAG_COMPOSE);