| 154 | } |
| 155 | |
| 156 | void Monome::SetLayoutData(ofxJSONElement& layout) |
| 157 | { |
| 158 | try |
| 159 | { |
| 160 | if (!layout["monome_rotation"].isNull()) |
| 161 | mGridRotation = layout["monome_rotation"].asInt(); |
| 162 | } |
| 163 | catch (Json::LogicError& e) |
| 164 | { |
| 165 | TheSynth->LogEvent(__PRETTY_FUNCTION__ + std::string(" json error: ") + e.what(), kLogEventType_Error); |
| 166 | } |
| 167 | } |
| 168 | |
| 169 | void Monome::ConnectToDevice(std::string deviceDesc) |
| 170 | { |
no test coverage detected