| 514 | } |
| 515 | |
| 516 | void QMappingAdvancedDialog::setShowScreenPointKey(const QString &keyname) |
| 517 | { |
| 518 | if (keyname == FUNCTION_KEY_NONE) { |
| 519 | ui->showScreenPointKeyComboBox->setCurrentIndex(FUNCTION_KEY_NONE_INDEX); |
| 520 | } |
| 521 | else if(QKeyMapper_Worker::MultiKeyboardInputList.contains(keyname)) { |
| 522 | ui->showScreenPointKeyComboBox->setCurrentText(keyname); |
| 523 | } |
| 524 | else { |
| 525 | ui->showScreenPointKeyComboBox->setCurrentText(SHOW_POINTS_IN_SCREEN_KEY); |
| 526 | } |
| 527 | } |
| 528 | |
| 529 | void QMappingAdvancedDialog::setLeftTriggerPressThreshold(int threshold) |
| 530 | { |