MCPcopy Create free account
hub / github.com/clementgallet/libTAS / inputDescription

Method inputDescription

src/program/ui/InputEditorModel.cpp:769–789  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

767}
768
769std::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
791bool InputEditorModel::isInputAnalog(int column)
792{

Callers 1

renameLabelMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected