import (
"github.com/micmonay/keybd_event"
)
kb,err := keybd_event.NewKeyBonding()
if err!=nil {
panic(err)
}
// For linux, it is very important wait 2 seconds
if runtime.GOOS == "linux" {
time.Sleep(2 * time.Second)
}
kb.SetKeys(keybd_event.VK_A,keybd_event.VK_B) //set keys
kb.HasSHIFT(true) //set shif is pressed
err = kb.Launching() //launch
if err!=nil {
panic(err)
}
//Ouput : AB