MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / do_MappingNotify

Function do_MappingNotify

cpp/linux-specific/print_events.h:541–558  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

539}
540
541static void
542do_MappingNotify (FILE* out_f, XEvent *eventp)
543{
544 XMappingEvent *e = (XMappingEvent *) eventp;
545 char *r;
546 char rdummy[10];
547
548 switch (e->request) {
549 case MappingModifier: r = "MappingModifier"; break;
550 case MappingKeyboard: r = "MappingKeyboard"; break;
551 case MappingPointer: r = "MappingPointer"; break;
552 default: r = rdummy; sprintf(rdummy, "%d", e->request); break;
553 }
554
555 fprintf(out_f," request %s, first_keycode %d, count %d\n",
556 r, e->first_keycode, e->count);
557 XRefreshKeyboardMapping(e);
558}
559
560
561

Callers 1

print_eventFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected