Lines Matching defs:tables
72 // Test each of the keymap's character tables
74 table_map_t tables;
75 tables[0] = &keymap->normal_map;
76 tables[B_SHIFT_KEY] = &keymap->shift_map;
77 tables[B_CAPS_LOCK] = &keymap->caps_map;
78 tables[B_CAPS_LOCK | B_SHIFT_KEY] = &keymap->caps_shift_map;
79 tables[B_CONTROL_KEY] = &keymap->control_map;
80 tables[B_OPTION_KEY] = &keymap->option_map;
81 tables[B_OPTION_KEY | B_SHIFT_KEY] = &keymap->option_shift_map;
82 tables[B_OPTION_KEY | B_CAPS_LOCK] = &keymap->option_caps_map;
83 tables[B_OPTION_KEY | B_SHIFT_KEY | B_CAPS_LOCK] =
86 for (table_map_t::const_iterator p = tables.begin();
87 p != tables.end(); p++) {
98 int newOffset = (*tables[modifiers & ~B_OPTION_KEY])[keycode];