| 767 | } |
| 768 | |
| 769 | std::string InputEditorModel::inputDescription(int column) |
| 770 | { |
| 771 | if (column < COLUMN_SPECIAL_SIZE) |
| 772 | return ""; |
| 773 | |
| 774 | if (column == columnCount() - 1) |
| 775 | return ""; |
| 776 | |
| 777 | SingleInput si = movie->editor->input_set[column-COLUMN_SPECIAL_SIZE]; |
| 778 | |
| 779 | /* Gather input description */ |
| 780 | for (int i=0; i<KeyMapping::INPUTLIST_SIZE; i++) { |
| 781 | for (SingleInput ti : context->config.km->input_list[i]) { |
| 782 | if (si == ti) { |
| 783 | return ti.description; |
| 784 | } |
| 785 | } |
| 786 | } |
| 787 | |
| 788 | return ""; |
| 789 | } |
| 790 | |
| 791 | bool InputEditorModel::isInputAnalog(int column) |
| 792 | { |