/memucpp

MEmu command wrapper library

Primary LanguageC++MIT LicenseMIT

splash

Features

  • Gets list of the VMs
  • Starts/stops/restarts the VMs
  • Starts/stops the applications
  • Triggers keys, touches and swipes
  • Takes the screen captures without save images on disk (into memory buffer)
  • Gets list of the running VM's processes

Examples

Returns list of the VMs

The memuc::Memuc provides API for interacting with MEmu command.

memuc::Memuc memuc(0, memuc::VMConfig::Default());
memuc.list_vms();

Runs the VM and the application, then triggers keys

memuc::Memuc memuc(0, memuc::VMConfig::Default());
memuc.start_app(0, "com.myapp");
memuc.trigger_key(0, memuc::KeyCode::Back);

Changes default MEmu command path

memuc::memuc_path = "D:/Program Files/Microvirt/MEmu/memuc.exe";