/dports/deskutils/xneur/xneur-0.20.0/lib/main/ |
H A D | bind_table.c | 115 btable[action].key_sym = key_sym; in bind_action() 155 ubtable[action].key_sym = key_sym; in bind_user_action() 184 if (key_sym == XK_Shift_L || key_sym == XK_Shift_R) in get_action() 190 if (key_sym == XK_Alt_L || key_sym == XK_Alt_R) in get_action() 192 if (key_sym == XK_Meta_L || key_sym == XK_Meta_R) in get_action() 196 if (key_sym == XK_Super_L || key_sym == XK_Super_R) in get_action() 198 if (key_sym == XK_Hyper_L || key_sym == XK_Hyper_R || key_sym == XK_ISO_Level3_Shift) in get_action() 246 if (key_sym == XK_Shift_L || key_sym == XK_Shift_R) in get_user_action() 252 if (key_sym == XK_Alt_L || key_sym == XK_Alt_R) in get_user_action() 254 if (key_sym == XK_Meta_L || key_sym == XK_Meta_R) in get_user_action() [all …]
|
H A D | event.c | 226 int key_sym = p->get_cur_keysym(p); in event_get_cur_modifiers_by_keysym() local 228 if (key_sym == XK_Shift_L || key_sym == XK_Shift_R) in event_get_cur_modifiers_by_keysym() 230 if (key_sym == XK_Caps_Lock) in event_get_cur_modifiers_by_keysym() 232 if (key_sym == XK_Control_L || key_sym == XK_Control_R) in event_get_cur_modifiers_by_keysym() 234 if (key_sym == XK_Alt_L || key_sym == XK_Alt_R) in event_get_cur_modifiers_by_keysym() 236 if (key_sym == XK_Meta_L || key_sym == XK_Meta_R) in event_get_cur_modifiers_by_keysym() 238 if (key_sym == XK_Num_Lock) in event_get_cur_modifiers_by_keysym() 240 if (key_sym == XK_Super_L || key_sym == XK_Super_R) in event_get_cur_modifiers_by_keysym() 242 if (key_sym == XK_Hyper_L || key_sym == XK_Hyper_R || key_sym == XK_ISO_Level3_Shift) in event_get_cur_modifiers_by_keysym()
|
H A D | bind_table.h | 27 KeySym key_sym; member 46 enum _hotkey_action get_action(KeySym key_sym, int mask); 47 int get_user_action(KeySym key_sym, int mask);
|
/dports/x11/xfce4-clipman-plugin/xfce4-clipman-plugin-1.6.2/tests/ |
H A D | test_xfakekey.c | 16 KeySym key_sym; in main() local 18 key_sym = XStringToKeysym ("1"); in main() 19 key_code = XKeysymToKeycode (display, key_sym); in main() 22 key_sym = XStringToKeysym ("2"); in main() 23 key_code = XKeysymToKeycode (display, key_sym); in main() 26 key_sym = XStringToKeysym ("3"); in main() 30 key_sym = XK_Return; in main() 50 key_sym = XK_Shift_L; in main() 53 key_sym = XK_Insert; in main() 56 key_sym = XK_Insert; in main() [all …]
|
/dports/x11/xkeywrap/xkeywrap-1.1/ |
H A D | list.c | 14 KeySym key_sym; member 25 static _ListData * AllocListData(char action, KeySym key_sym, in AllocListData() argument 31 p->key_sym = key_sym; in AllocListData() 60 return (pointer->key_sym); in ListGetKey() 73 ListPointer ListAddToStart(List this, char action, KeySym key_sym, in ListAddToStart() argument 78 p = AllocListData(action, key_sym, state, timer); in ListAddToStart() 89 ListPointer ListAddToEnd(List this, char action, KeySym key_sym, in ListAddToEnd() argument 94 p = AllocListData(action, key_sym, state, timer); in ListAddToEnd() 106 char action, KeySym key_sym, in ListAdd() argument 114 return (ListAddToEnd(this, action, key_sym, state, timer)); in ListAdd() [all …]
|
H A D | list.h | 21 ListPointer ListAddToStart(List this, char action, KeySym key_sym, 23 ListPointer ListAddToEnd(List this, char action, KeySym key_sym, 26 char action, KeySym key_sym,
|
H A D | xkeywrap_demo.c | 459 KeySym key_sym; in key_press() local 471 key_sym = XKeycodeToKeysym(XtDisplay(w), event->xkey.keycode, 0); in key_press() 472 key_str = XKeysymToString(key_sym); in key_press() 480 ListAddToEnd(key_list, 1, key_sym, event->xkey.state, event->xkey.time); in key_press() 491 KeySym key_sym; in key_release() local 503 key_sym = XKeycodeToKeysym(XtDisplay(w), event->xkey.keycode, 0); in key_release() 504 key_str = XKeysymToString(key_sym); in key_release() 511 ListAddToEnd(key_list, 0, key_sym, event->xkey.state, event->xkey.time); in key_release()
|
/dports/graphics/tgif/tgif-QPL-4.2.5/ |
H A D | tdgtbmpl.c | 550 KeySym key_sym; 558 switch (key_sym) { 573 switch (key_sym) { 588 switch (key_sym&0xff) { 667 KeySym key_sym; 693 KeySym key_sym; local 731 } else if (length != 0 && ((key_sym>'\040' && key_sym<='\177' && 733 key_sym==XK_Down || key_sym==XK_KP_Up || key_sym==XK_KP_Down || 734 key_sym==XK_Page_Up || key_sym==XK_KP_Page_Up || 735 key_sym==XK_Page_Down || key_sym==XK_KP_Page_Down)) { [all …]
|
H A D | tdgtlist.c | 639 KeySym key_sym; 647 switch (key_sym) { 662 switch (key_sym) { 677 switch (key_sym&0xff) { 756 KeySym key_sym; 783 KeySym key_sym; local 826 } else if (length != 0 && ((key_sym>'\040' && key_sym<='\177' && 828 key_sym==XK_Down || key_sym==XK_KP_Up || key_sym==XK_KP_Down || 829 key_sym==XK_Page_Up || key_sym==XK_KP_Page_Up || 830 key_sym==XK_Page_Down || key_sym==XK_KP_Page_Down)) { [all …]
|
H A D | auxtext.c | 215 KeySym key_sym; 219 (key_sym == XK_Insert || key_sym == XK_KP_Insert)) { 231 (key_sym == XK_Insert || key_sym == XK_KP_Insert)) { 243 (key_sym == XK_Insert || key_sym == XK_KP_Insert)) { 283 if (key_sym==XK_Return || key_sym==XK_KP_Enter || key_sym==XK_Linefeed) { 287 (key_sym == XK_m || key_sym == XK_j)) { 302 if (key_sym==XK_Delete || key_sym==XK_KP_Delete) { 337 key_sym==XK_BackSpace || key_sym==XK_Delete || key_sym==XK_KP_Delete) { 355 if (key_sym==XK_Tab || key_sym==XK_KP_Tab) { 373 return (key_sym==XK_Home || key_sym==XK_KP_Home); [all …]
|
H A D | tgisdl.c | 373 int HandleCursorKey(pTdgtBase, key_sym) in HandleCursorKey() argument 375 KeySym key_sym; 383 switch (key_sym) { 482 KeySym key_sym; 501 KeySym key_sym=(KeySym)0; local 509 TranslateKeys(buf, &key_sym); 521 } else if (key_sym==XK_Up || key_sym==XK_KP_Up || key_sym==XK_Down || 522 key_sym==XK_KP_Down || key_sym==XK_Left || key_sym==XK_KP_Left || 523 key_sym==XK_Right || key_sym==XK_KP_Right || 524 (key_sym>'\040' && key_sym<='\177' && [all …]
|
H A D | tgtwb5dl.c | 892 KeySym key_sym; 897 switch (key_sym) { 907 switch (key_sym & 0x0ff) { 928 KeySym key_sym; 956 KeySym key_sym=(KeySym)0; local 964 TranslateKeys(buf, &key_sym); 978 } else if (key_sym==XK_Up || key_sym==XK_KP_Up || key_sym==XK_Down || 979 key_sym==XK_KP_Down || key_sym==XK_Left || key_sym==XK_KP_Left || 980 key_sym==XK_Right || key_sym==XK_KP_Right || 981 (key_sym>'\040' && key_sym<='\177' && [all …]
|
H A D | choose.c | 1546 KeySym key_sym; 1552 switch (key_sym) { 1567 switch (key_sym) { 1582 switch (key_sym&0xff) { 1664 KeySym key_sym; 1745 KeySym key_sym; local 1784 ((key_sym>'\040' && key_sym<='\177' && 1786 key_sym==XK_Down || key_sym==XK_KP_Up || key_sym==XK_KP_Down || 1787 key_sym==XK_Page_Up || key_sym==XK_KP_Page_Up || 1788 key_sym==XK_Page_Down || key_sym==XK_KP_Page_Down)) { [all …]
|
H A D | tdgtsedt.c | 236 KeySym key_sym=(KeySym)0; local 245 key_ev, buf, sizeof(buf), &key_sym, &has_ch)) { 249 TranslateKeys(buf, &key_sym); 251 has_ch = XLookupString(key_ev, buf, sizeof(buf), &key_sym, &c_stat); 260 key_sym = (KeySym)0; 267 TranslateKeys(buf, &key_sym); 270 if (CharIsCRorLF(key_ev, buf, key_sym, &has_ch)) { 273 } else if (CharIsBS(key_ev, buf, key_sym, &has_ch, FALSE)) { 276 } else if (key_sym>='\040' && key_sym<='\377') {
|
H A D | tgcwheel.c | 116 KeySym key_sym=(KeySym)0; local 118 has_ch = XLookupString(key_ev, s, sizeof(s), &key_sym, &c_stat); 119 TranslateKeys(s, &key_sym);
|
/dports/games/retroarch/RetroArch-1.9.7/input/drivers/ |
H A D | psp_input.c | 95 int key_sym = 0; in vita_input_poll() local 136 key_sym = (int)modifier_lut[i][0]; in vita_input_poll() 144 if (key_held && !(psp->keyboard_state[key_sym])) in vita_input_poll() 146 psp->keyboard_state[key_sym] = true; in vita_input_poll() 152 psp->keyboard_state[key_sym] = false; in vita_input_poll() 160 key_sym = k_reports[numReports - 1].keycodes[i]; in vita_input_poll() 162 if (key_sym != psp->prev_keys[i]) in vita_input_poll() 173 if (key_sym) in vita_input_poll() 175 psp->keyboard_state[key_sym] = true; in vita_input_poll() 178 key_sym); in vita_input_poll() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/extensions/api/braille_display_private/ |
H A D | brlapi_keycode_map.cc | 48 brlapi_keyCode_t key_sym = code & BRLAPI_KEY_CODE_MASK; in MapKeySym() local 49 if (key_sym < kMaxLatin1KeySym || in MapKeySym() 50 (key_sym & BRLAPI_KEY_SYM_UNICODE) != 0) { in MapKeySym() 51 uint32_t code_point = key_sym & ~BRLAPI_KEY_SYM_UNICODE; in MapKeySym() 56 } else if (key_sym >= kMinFunctionKey && key_sym <= kMaxFunctionKey) { in MapKeySym() 59 int function_key_number = key_sym - kMinFunctionKey + 1; in MapKeySym() 65 switch (key_sym) { in MapKeySym()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/chrome/browser/extensions/api/braille_display_private/ |
H A D | brlapi_keycode_map.cc | 48 brlapi_keyCode_t key_sym = code & BRLAPI_KEY_CODE_MASK; in MapKeySym() local 49 if (key_sym < kMaxLatin1KeySym || in MapKeySym() 50 (key_sym & BRLAPI_KEY_SYM_UNICODE) != 0) { in MapKeySym() 51 uint32_t code_point = key_sym & ~BRLAPI_KEY_SYM_UNICODE; in MapKeySym() 56 } else if (key_sym >= kMinFunctionKey && key_sym <= kMaxFunctionKey) { in MapKeySym() 59 int function_key_number = key_sym - kMinFunctionKey + 1; in MapKeySym() 65 switch (key_sym) { in MapKeySym()
|
/dports/x11/xfce4-clipman-plugin/xfce4-clipman-plugin-1.6.2/panel-plugin/ |
H A D | menu.c | 191 KeySym key_sym; in cb_paste_on_activate() local 211 key_sym = XK_Control_L; in cb_paste_on_activate() 212 key_code = XKeysymToKeycode (display, key_sym); in cb_paste_on_activate() 214 key_sym = XK_v; in cb_paste_on_activate() 215 key_code = XKeysymToKeycode (display, key_sym); in cb_paste_on_activate() 217 key_sym = XK_v; in cb_paste_on_activate() 220 key_sym = XK_Control_L; in cb_paste_on_activate() 226 key_sym = XK_Shift_L; in cb_paste_on_activate() 229 key_sym = XK_Insert; in cb_paste_on_activate() 232 key_sym = XK_Insert; in cb_paste_on_activate() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/remoting/host/input_monitor/ |
H A D | local_hotkey_input_monitor_x11.cc | 199 const auto key_sym = in DispatchXEvent() local 202 if (key_sym == XK_Control_L || key_sym == XK_Control_R) in DispatchXEvent() 204 else if (key_sym == XK_Alt_L || key_sym == XK_Alt_R) in DispatchXEvent() 206 else if (key_sym == XK_Escape && down && alt_pressed_ && ctrl_pressed_) in DispatchXEvent()
|
/dports/games/frozen-bubble/frozen-bubble-d6a0291/lib/Games/FrozenBubble/ |
H A D | LevelEditor.pm | 678 } elsif ($event->key_sym() == SDLK_UP()) { 682 … if ($event->key_sym() == SDLK_RETURN() || $event->key_sym() == SDLK_KP_ENTER()) { 688 } elsif ($event->key_sym() == SDLK_UP()) { 692 … if ($event->key_sym() == SDLK_RETURN() || $event->key_sym() == SDLK_KP_ENTER()) { 699 if ($event->key_sym == SDLK_ESCAPE() || $event->key_sym == SDLK_q() ) { 703 if ($event->key_sym == SDLK_RETURN() || $event->key_sym == SDLK_KP_ENTER()) { 721 } elsif ($event->key_sym() == SDLK_UP()) { 738 … if ($event->key_sym() == SDLK_RETURN() || $event->key_sym() == SDLK_KP_ENTER()) { 752 … if ($event->key_sym() == SDLK_RETURN() || $event->key_sym() == SDLK_KP_ENTER() ) { 770 … if ($event->key_sym() == SDLK_RETURN() || $event->key_sym() == SDLK_KP_ENTER()) { [all …]
|
/dports/games/xtron/xtron-1.1a/ |
H A D | main.c | 155 KeySym key_sym; in KeyEvent() local 158 &key_sym, &compose_status); in KeyEvent() 161 if (key_sym == KEYS_PLR1_UP) in KeyEvent() 163 if (key_sym == KEYS_PLR1_DOWN) in KeyEvent() 165 if (key_sym == KEYS_PLR1_LEFT) in KeyEvent() 167 if (key_sym == KEYS_PLR1_RIGHT) in KeyEvent() 171 if (key_sym == KEYS_PLR2_UP || key_sym == XK_Up) in KeyEvent() 173 if (key_sym == KEYS_PLR2_DOWN || key_sym == XK_Down) in KeyEvent() 175 if (key_sym == KEYS_PLR2_LEFT || key_sym == XK_Left) in KeyEvent() 177 if (key_sym == KEYS_PLR2_RIGHT || key_sym == XK_Right) in KeyEvent()
|
/dports/misc/magicpoint/magicpoint-1.13a/ |
H A D | m17n.c | 696 MSymbol key_sym = msymbol (key); local 702 if (key_sym == Mfoundry || key_sym == Mfamily || key_sym == Mweight 703 || key_sym == Mstyle || key_sym == Mstretch || key_sym == Madstyle) 704 mface_put_prop (face, key_sym, value ? msymbol (value) : Mnil); 705 else if (key_sym == Mfontset) 706 mface_put_prop (face, key_sym, value ? mfontset (value) : fontset); 707 else if (key_sym == Mratio) 708 mface_put_prop (face, key_sym, value ? (void *) atoi (value) : (void *) 1); 709 else if (key_sym == Mlanguage)
|
/dports/devel/p5-SDL/SDL-2.548/examples/pixel_operations/ |
H A D | starry.pl | 35 || ( $event->key_sym && $event->type != SDL_KEYUP ) ) 37 $rot += 0.1 if $event->key_sym == SDLK_UP; 38 $rot -= 0.1 if $event->key_sym == SDLK_DOWN;
|
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/visualization/include/pcl/visualization/ |
H A D | keyboard_event.h | 66 inline KeyboardEvent (bool action, const std::string& key_sym, unsigned char key, 119 KeyboardEvent::KeyboardEvent (bool action, const std::string& key_sym, unsigned char key, in KeyboardEvent() argument 124 , key_sym_ (key_sym) in KeyboardEvent()
|