123456789101112131415161718192021222324252627282930 |
- package main
- func GetKeys() map[string]string {
- keys := make(map[string]string)
- keys["home"] = "home"
- keys["rev"] = "rev"
- keys["fwd"] = "fwd"
- keys["left"] = "left"
- keys["right"] = "right"
- keys["down"] = "down"
- keys["up"] = "up"
- keys["play"] = "play"
- keys["ok"] = "select"
- keys["back"] = "back"
- keys["instant-replay"] = "instantreplay"
- keys["info"] = "info"
- keys["backspace"] = "backspace"
- keys["search"] = "search"
- keys["enter"] = "enter"
- keys["power"] = "poweroff"
- keys["vol+"] = "volumeup"
- keys["vol-"] = "volumedown"
- keys["mute"] = "volumemute"
- keys["chan+"] = "channelup"
- keys["chan-"] = "channeldown"
- return keys
- }
|