Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/input/input.c

    rc928bb7 rf9ab562  
    6262#include "input.h"
    6363
    64 #define NUM_LAYOUTS  4
     64#define NUM_LAYOUTS  3
    6565
    6666static layout_ops_t *layout[NUM_LAYOUTS] = {
    6767        &us_qwerty_ops,
    6868        &us_dvorak_ops,
    69         &cz_ops,
    70         &ar_ops
     69        &cz_ops
    7170};
    7271
     
    161160                layout_destroy(kdev->active_layout);
    162161                kdev->active_layout = layout_create(layout[2]);
    163                 return;
    164         }
    165        
    166         if (type == KEY_PRESS && (kdev->mods & KM_LCTRL) &&
    167             key == KC_F4) {
    168                 layout_destroy(kdev->active_layout);
    169                 kdev->active_layout = layout_create(layout[3]);
    170162                return;
    171163        }
Note: See TracChangeset for help on using the changeset viewer.