mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
adjustable image2led mode for grabbers (#341)
* implement most points for a adjustable image2leds mapping * implement new adjustable led mapping type
This commit is contained in:
@@ -545,6 +545,17 @@ void JsonConnection::setAdjustment(const QString &adjustmentId,
|
||||
parseReply(reply);
|
||||
}
|
||||
|
||||
|
||||
void JsonConnection::setLedMapping(QString mappingType)
|
||||
{
|
||||
QJsonObject command;
|
||||
command["command"] = QString("processing");
|
||||
command["mappingType"] = mappingType;
|
||||
|
||||
QJsonObject reply = sendMessage(command);
|
||||
parseReply(reply);
|
||||
}
|
||||
|
||||
QJsonObject JsonConnection::sendMessage(const QJsonObject & message)
|
||||
{
|
||||
// serialize message
|
||||
|
||||
Reference in New Issue
Block a user