Default [Q] Buttons remapping in Miui

Hi guys, i hope im here at the right location..
I have a new Mi3 and im quite cool with this device. Its just that im missing 2 features of cyanogenmod with the buttons: I mapped the search button on long pressing menu, and with double tap the homd button, I went back to the previous app. Cann i have this feature again? Maybe with wsm or xposed?