Subversion Repositories HelenOS

Rev

Rev 3924 | Rev 3944 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3924 Rev 3933
Line 210... Line 210...
210
    case 0x5b: ds = ds_e2; return;
210
    case 0x5b: ds = ds_e2; return;
211
    case 0x1b: ds = ds_start; break;
211
    case 0x1b: ds = ds_start; break;
212
    default: ds = ds_start; return;
212
    default: ds = ds_start; return;
213
    }
213
    }
214
 
214
 
215
    kbd_push_ev(KE_PRESS, KC_ESCAPE, 0);
215
    kbd_push_ev(KE_PRESS, KC_ESCAPE);
216
}
216
}
217
 
217
 
218
static void parse_ds_e1(int scancode)
218
static void parse_ds_e1(int scancode)
219
{
219
{
220
    parse_leaf(scancode, map_e1, sizeof(map_e1) / sizeof(int));
220
    parse_leaf(scancode, map_e1, sizeof(map_e1) / sizeof(int));
Line 250... Line 250...
250
    if (scancode < 0 || scancode >= map_length)
250
    if (scancode < 0 || scancode >= map_length)
251
        return;
251
        return;
252
 
252
 
253
    key = map[scancode];
253
    key = map[scancode];
254
    if (key != 0)
254
    if (key != 0)
255
        kbd_push_ev(KE_PRESS, key, 0);
255
        kbd_push_ev(KE_PRESS, key);
256
}
256
}
257
 
257
 
258
 
258
 
259
/**
259
/**
260
 * @}
260
 * @}