Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

int main() {
    
    CapsStates kapsLokinTila = CAPS_OFF;

    
    Events tapahtuma = CAPS_LOCK_PRESSED;    kasitteleTapahtuma(KEY_A_PRESSED, kapsLokinTila);
    kasitteleTapahtuma(tapahtumaCAPS_LOCK_PRESSED, kapsLokinTila);
    kasitteleTapahtuma(KEY_A_PRESSED, kapsLokinTila);
    kasitteleTapahtuma(tapahtumaCAPS_LOCK_PRESSED, kapsLokinTila);
    kasitteleTapahtuma(KEY_A_PRESSED, kapsLokinTila);

...