Skip to content

Commit

Permalink
initialize _rows and _columns to 16 for mk devices
Browse files Browse the repository at this point in the history
  • Loading branch information
William Light committed Aug 22, 2010
1 parent 7021573 commit 44b19a9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions osx/MonomeXXhDevice.cc
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,16 @@ switch (_type)
fprintf(stderr, "** m64 has been detected! \n", name);
#endif
break;

case kDeviceType_mk:
/* XXX: need command to read current dimensions of mk devices */

_columns = _rows = 16;
_oscAddressPatternPrefix = "/mk";
#ifdef _DEBUG_NEW_DEVICE
fprintf(stderr, "** mk has been detected!\n");
#endif
break;
}


Expand Down

0 comments on commit 44b19a9

Please sign in to comment.