Changeset 79105 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Jun 12, 2019 9:44:32 AM (6 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/softkeyboard/UISoftKeyboard.cpp
r79103 r79105 1541 1541 key.setScanCodePrefix(strCode.toInt(&fOk, 16)); 1542 1542 } 1543 else if (m_xmlReader.name() == "keycap")1544 {1545 QString strCap = m_xmlReader.readElementText();1546 if (strKeyCap.isEmpty())1547 strKeyCap = strCap;1548 else1549 strKeyCap += "\n" + strCap;1550 }1551 1543 else if (m_xmlReader.name() == "cutout") 1552 1544 parseCutout(key); … … 1564 1556 m_xmlReader.skipCurrentElement(); 1565 1557 } 1566 //key.setStaticKeyCap(strKeyCap);1567 1558 } 1568 1559 -
trunk/src/VBox/Frontends/VirtualBox/xml/101_ansi.xml
r79016 r79105 4 4 <row> 5 5 <key> 6 <keycap>Esc</keycap>7 6 <position>110</position> 8 7 <scancode>0x01</scancode> … … 12 11 </space> 13 12 <key> 14 <keycap>F1</keycap>15 13 <position>112</position> 16 14 <scancode>0x3b</scancode> 17 15 </key> 18 16 <key> 19 <keycap>F2</keycap>20 17 <position>113</position> 21 18 <scancode>0x3c</scancode> 22 19 </key> 23 20 <key> 24 <keycap>F3</keycap>25 21 <position>114</position> 26 22 <scancode>0x3d</scancode> 27 23 </key> 28 24 <key> 29 <keycap>F4</keycap>30 25 <position>115</position> 31 26 <scancode>0x3e</scancode> … … 35 30 </space> 36 31 <key> 37 <keycap>F5</keycap>38 32 <position>116</position> 39 33 <scancode>0x3f</scancode> 40 34 </key> 41 35 <key> 42 <keycap>F6</keycap>43 36 <position>117</position> 44 37 <scancode>0x40</scancode> 45 38 </key> 46 39 <key> 47 <keycap>F7</keycap>48 40 <position>188</position> 49 41 <scancode>0x41</scancode> 50 42 </key> 51 43 <key> 52 <keycap>F8</keycap>53 44 <position>119</position> 54 45 <scancode>0x42</scancode> … … 58 49 </space> 59 50 <key> 60 <keycap>F9</keycap>61 51 <position>120</position> 62 52 <scancode>0x43</scancode> 63 53 </key> 64 54 <key> 65 <keycap>F10</keycap>66 55 <position>121</position> 67 56 <scancode>0x44</scancode> 68 57 </key> 69 58 <key> 70 <keycap>F11</keycap>71 59 <position>122</position> 72 60 <scancode>0x57</scancode> 73 61 </key> 74 62 <key> 75 <keycap>F12</keycap>76 63 <position>123</position> 77 64 <scancode>0x58</scancode> … … 81 68 </space> 82 69 <key> 83 <keycap>Prt</keycap> 84 <keycap>Scn</keycap> 70 71 85 72 <position>124</position> 86 73 <scancodeprefix>0xe0</scancodeprefix> … … 88 75 </key> 89 76 <key> 90 <keycap>Scroll</keycap> 91 <keycap>Lock</keycap> 77 78 92 79 <position>125</position> 93 80 <scancode>0x46</scancode> 94 81 </key> 95 82 <key> 96 <keycap>Pause</keycap>97 83 <position>126</position> 98 84 <scancodeprefix>0xe0-0x1d</scancodeprefix> … … 158 144 <key> 159 145 <width>110</width> 160 <keycap>Backspace</keycap> 146 161 147 <position>15</position> 162 148 <scancode>0x0e</scancode> … … 166 152 </space> 167 153 <key> 168 <keycap>Insert</keycap>169 154 <position>75</position> 170 155 <scancodeprefix>0xe0</scancodeprefix> … … 172 157 </key> 173 158 <key> 174 <keycap>Home</keycap>175 159 <position>80</position> 176 160 <scancodeprefix>0xe0</scancodeprefix> … … 178 162 </key> 179 163 <key> 180 <keycap>PgUp</keycap>181 164 <position>85</position> 182 165 <scancodeprefix>0xe0</scancodeprefix> … … 187 170 <key> 188 171 <width>75</width> 189 <keycap>Tab</keycap> 172 190 173 <position>16</position> 191 174 <scancode>0x0f</scancode> … … 248 231 </space> 249 232 <key> 250 <keycap>Del</keycap>251 233 <position>76</position> 252 234 <scancode>0x53</scancode> … … 254 236 </key> 255 237 <key> 256 <keycap>End</keycap>257 238 <position>81</position> 258 239 <scancodeprefix>0xe0</scancodeprefix> … … 260 241 </key> 261 242 <key> 262 <keycap>PgDn</keycap>263 243 <position>86</position> 264 244 <scancode>0x51</scancode> … … 269 249 <key> 270 250 <width>100</width> 271 <keycap>CapsLock</keycap> 251 272 252 <type>toggleable</type> 273 253 <position>30</position> … … 320 300 <key> 321 301 <width>115</width> 322 <keycap>Enter</keycap> 302 323 303 <position>43</position> 324 304 <scancode>0x1c</scancode> … … 328 308 <key> 329 309 <width>125</width> 330 <keycap>Shift</keycap> 310 331 311 <type>modifier</type> 332 312 <position>44</position> … … 375 355 <key> 376 356 <width>145</width> 377 <keycap>Shift</keycap> 357 378 358 <type>modifier</type> 379 359 <position>57</position> … … 384 364 </space> 385 365 <key> 386 <keycap>Up</keycap> 366 387 367 <scancodeprefix>0xe0</scancodeprefix> 388 368 <position>83</position> … … 393 373 <key> 394 374 <width>90</width> 395 <keycap>Ctrl</keycap> 375 396 376 <type>modifier</type> 397 377 <position>58</position> … … 399 379 </key> 400 380 <key> 401 <keycap>OS</keycap> 381 402 382 <width>75</width> 403 383 <type>modifier</type> … … 408 388 <key> 409 389 <position>60</position> 410 <keycap>Alt</keycap> 390 411 391 <width>75</width> 412 392 <type>modifier</type> … … 419 399 </key> 420 400 <key> 421 <keycap>AltGr</keycap> 401 422 402 <width>75</width> 423 403 <type>modifier</type> … … 427 407 </key> 428 408 <key> 429 <keycap>OS</keycap> 409 430 410 <width>75</width> 431 411 <type>modifier</type> … … 435 415 </key> 436 416 <key> 437 <keycap>Menu</keycap> 417 438 418 <width>75</width> 439 419 <scancodeprefix>0xe0</scancodeprefix> … … 441 421 </key> 442 422 <key> 443 <keycap>Ctrl</keycap> 423 444 424 <width>90</width> 445 425 <position>64</position> … … 452 432 </space> 453 433 <key> 454 <keycap>Left</keycap>455 434 <position>79</position> 456 435 <scancodeprefix>0xe0</scancodeprefix> … … 458 437 </key> 459 438 <key> 460 <keycap>Down</keycap>461 439 <position>84</position> 462 440 <scancodeprefix>0xe0</scancodeprefix> … … 464 442 </key> 465 443 <key> 466 <keycap>Right</keycap>467 444 <position>89</position> 468 445 <scancodeprefix>0xe0</scancodeprefix> -
trunk/src/VBox/Frontends/VirtualBox/xml/102_iso.xml
r79016 r79105 4 4 <row> 5 5 <key> 6 <keycap>Esc</keycap>7 6 <position>110</position> 8 7 <scancode>0x01</scancode> … … 12 11 </space> 13 12 <key> 14 <keycap>F1</keycap>15 13 <position>112</position> 16 14 <scancode>0x3b</scancode> 17 15 </key> 18 16 <key> 19 <keycap>F2</keycap>20 17 <position>113</position> 21 18 <scancode>0x3c</scancode> 22 19 </key> 23 20 <key> 24 <keycap>F3</keycap>25 21 <position>114</position> 26 22 <scancode>0x3d</scancode> 27 23 </key> 28 24 <key> 29 <keycap>F4</keycap>30 25 <position>115</position> 31 26 <scancode>0x3e</scancode> … … 35 30 </space> 36 31 <key> 37 <keycap>F5</keycap>38 32 <position>116</position> 39 33 <scancode>0x3f</scancode> 40 34 </key> 41 35 <key> 42 <keycap>F6</keycap>43 36 <position>117</position> 44 37 <scancode>0x40</scancode> 45 38 </key> 46 39 <key> 47 <keycap>F7</keycap>48 40 <position>188</position> 49 41 <scancode>0x41</scancode> 50 42 </key> 51 43 <key> 52 <keycap>F8</keycap>53 44 <position>119</position> 54 45 <scancode>0x42</scancode> … … 58 49 </space> 59 50 <key> 60 <keycap>F9</keycap>61 51 <position>120</position> 62 52 <scancode>0x43</scancode> 63 53 </key> 64 54 <key> 65 <keycap>F10</keycap>66 55 <position>121</position> 67 56 <scancode>0x44</scancode> 68 57 </key> 69 58 <key> 70 <keycap>F11</keycap>71 59 <position>122</position> 72 60 <scancode>0x57</scancode> 73 61 </key> 74 62 <key> 75 <keycap>F12</keycap>76 63 <position>123</position> 77 64 <scancode>0x58</scancode> … … 81 68 </space> 82 69 <key> 83 <keycap>Prt</keycap>84 <keycap>Scn</keycap>85 70 <position>124</position> 86 71 <scancodeprefix>0xe0</scancodeprefix> … … 88 73 </key> 89 74 <key> 90 <keycap>Scroll</keycap>91 <keycap>Lock</keycap>92 75 <position>125</position> 93 76 <scancode>0x46</scancode> 94 77 </key> 95 78 <key> 96 <keycap>Pause</keycap>97 79 <position>126</position> 98 80 <scancodeprefix>0xe0-0x1d</scancodeprefix> … … 158 140 <key> 159 141 <width>110</width> 160 <keycap>Backspace</keycap> 142 161 143 <position>15</position> 162 144 <scancode>0x0e</scancode> … … 166 148 </space> 167 149 <key> 168 <keycap>Insert</keycap>169 150 <position>75</position> 170 151 <scancodeprefix>0xe0</scancodeprefix> … … 172 153 </key> 173 154 <key> 174 <keycap>Home</keycap>175 155 <position>80</position> 176 156 <scancodeprefix>0xe0</scancodeprefix> … … 178 158 </key> 179 159 <key> 180 <keycap>PgUp</keycap>181 160 <position>85</position> 182 161 <scancodeprefix>0xe0</scancodeprefix> … … 187 166 <key> 188 167 <width>75</width> 189 <keycap>Tab</keycap> 168 190 169 <position>16</position> 191 170 <scancode>0x0f</scancode> … … 242 221 <width>85</width> 243 222 <height>105</height> 244 <keycap>Enter</keycap> 223 245 224 <position>43</position> 246 225 <scancode>0x1c</scancode> … … 255 234 </space> 256 235 <key> 257 <keycap>Del</keycap>258 236 <position>76</position> 259 237 <scancode>0x53</scancode> … … 261 239 </key> 262 240 <key> 263 <keycap>End</keycap>264 241 <position>81</position> 265 242 <scancodeprefix>0xe0</scancodeprefix> … … 267 244 </key> 268 245 <key> 269 <keycap>PgDn</keycap>270 246 <position>86</position> 271 247 <scancode>0x51</scancode> … … 276 252 <key> 277 253 <width>100</width> 278 <keycap>CapsLock</keycap> 254 279 255 <type>toggleable</type> 280 256 <position>30</position> … … 333 309 <key> 334 310 <width>75</width> 335 <keycap>Shift</keycap> 311 336 312 <type>modifier</type> 337 313 <position>44</position> … … 384 360 <key> 385 361 <width>140</width> 386 <keycap>Shift</keycap> 362 387 363 <type>modifier</type> 388 364 <position>57</position> … … 393 369 </space> 394 370 <key> 395 <keycap>Up</keycap> 371 396 372 <scancodeprefix>0xe0</scancodeprefix> 397 373 <position>83</position> … … 402 378 <key> 403 379 <width>90</width> 404 <keycap>Ctrl</keycap> 380 405 381 <type>modifier</type> 406 382 <position>58</position> … … 408 384 </key> 409 385 <key> 410 <keycap>OS</keycap> 386 411 387 <width>75</width> 412 388 <type>modifier</type> … … 417 393 <key> 418 394 <position>60</position> 419 <keycap>Alt</keycap> 395 420 396 <width>75</width> 421 397 <type>modifier</type> … … 428 404 </key> 429 405 <key> 430 <keycap>AltGr</keycap> 406 431 407 <width>75</width> 432 408 <type>modifier</type> … … 436 412 </key> 437 413 <key> 438 <keycap>OS</keycap> 414 439 415 <width>75</width> 440 416 <type>modifier</type> … … 444 420 </key> 445 421 <key> 446 <keycap>Menu</keycap> 422 447 423 <width>75</width> 448 424 <scancodeprefix>0xe0</scancodeprefix> … … 450 426 </key> 451 427 <key> 452 <keycap>Ctrl</keycap> 428 453 429 <width>90</width> 454 430 <position>64</position> … … 461 437 </space> 462 438 <key> 463 <keycap>Left</keycap>464 439 <position>79</position> 465 440 <scancodeprefix>0xe0</scancodeprefix> … … 467 442 </key> 468 443 <key> 469 <keycap>Down</keycap>470 444 <position>84</position> 471 445 <scancodeprefix>0xe0</scancodeprefix> … … 473 447 </key> 474 448 <key> 475 <keycap>Right</keycap>476 449 <position>89</position> 477 450 <scancodeprefix>0xe0</scancodeprefix> 478 451 <scancode>0x4d</scancode> 479 452 </key> 480 481 482 </row> 483 453 </row> 484 454 </layout>
Note:
See TracChangeset
for help on using the changeset viewer.