Serial between ESP8266 and Arduino leonardo not working correctly

Yes, ESP8266 i use HW serial for debug, and on arduino i use softwareserial for emulate HID on the HW Serial.
Im trying to create a RUBBER DUCKY wifi with some feature as multiple layout support for example