Detecting MIDI mapping mode in Live
Hi there,
I want my M4L device to know if the MIDI mapping mode in Live is active or not. Is it possible?
I searched for it in [live.xxx] object references and Live Object Model, Live API docs... but so far it didn't help.
Any advice would be greatly appreciated!
Having the same problem here too.
Hi. Yes, you can detect mapping mode but afaik it's not documented anywhere and it can't distinguish between midi or key mapping.

11OL532, that's a great trick! I never would've found that.
I can only see it listed when calling Object.getOwnPropertyNames( maxobj ) from JS while the M4L device is running in the Live environment (not M4L editor or standalone Max).
Hi 110L532, what a great information!
For my purpose the indistinction between MIDI or Keyboard doesn't matter. I'll try it!
Hi IAN, thank you very much for bumping this thread!
Hi TYLER, I appreciate your additional info. I'll check that behavior too.
I've tried [getattr learning] on my patch and it's completely working!
Thank you again, guys!
Hi, I would have the same question, but for the Max mapping mode.
Would there be a way to report the state of the Max MIDI mapping mode inside Max itself ?