- Timestamp:
- Oct 11, 2007 3:24:13 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 25189
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/linux/keyboard.c
r5049 r5238 1816 1816 #endif 1817 1817 1818 #ifndef OUTOFWINE 1818 1819 syms = keysyms_per_keycode; 1819 1820 if (syms > 4) { … … 1821 1822 syms = 4; 1822 1823 } 1824 #else 1825 /* innotek FIX */ 1826 /* Not all setups really produce all four keysyms, and two are enough 1827 for identification anyway. */ 1828 syms = keysyms_per_keycode; 1829 if (syms > 2) { 1830 WARN("%d keysyms per keycode not supported, set to 2\n", syms); 1831 syms = 2; 1832 } 1833 #endif 1823 1834 1824 1835 memset( ckey, 0, sizeof(ckey) ); … … 2012 2023 #endif 2013 2024 lkey = main_key_tab[kbd_layout].key; 2025 #ifndef OUTOFWINE 2014 2026 syms = (keysyms_per_keycode > 4) ? 4 : keysyms_per_keycode; 2027 #else 2028 /* innotek FIX */ 2029 /* Not all setups really produce all four keysyms, and two are enough 2030 for identification anyway. */ 2031 syms = (keysyms_per_keycode > 2) ? 2 : keysyms_per_keycode; 2032 #endif 2015 2033 2016 2034 /* Now build two conversion arrays :
Note:
See TracChangeset
for help on using the changeset viewer.