neko/server/internal/xorg/keycode/button.go

46 lines
648 B
Go
Raw Normal View History

2020-01-19 12:30:09 +13:00
package keycode
2020-04-06 10:34:51 +12:00
import "n.eko.moe/neko/internal/types"
2020-01-19 12:30:09 +13:00
2020-04-06 10:34:51 +12:00
var LEFT_BUTTON = types.Button{
2020-01-19 12:30:09 +13:00
Name: "LEFT",
Code: 0,
Keysym: 1,
}
2020-04-06 10:34:51 +12:00
var CENTER_BUTTON = types.Button{
2020-01-19 12:30:09 +13:00
Name: "CENTER",
Code: 1,
Keysym: 2,
}
2020-04-06 10:34:51 +12:00
var RIGHT_BUTTON = types.Button{
2020-01-19 12:30:09 +13:00
Name: "RIGHT",
Code: 2,
Keysym: 3,
}
2020-04-06 10:34:51 +12:00
var SCROLL_UP_BUTTON = types.Button{
2020-01-19 12:30:09 +13:00
Name: "SCROLL_UP",
Code: 3,
Keysym: 4,
}
2020-04-06 10:34:51 +12:00
var SCROLL_DOWN_BUTTON = types.Button{
2020-01-19 12:30:09 +13:00
Name: "SCROLL_DOWN",
Code: 4,
Keysym: 5,
}
2020-04-06 10:34:51 +12:00
var SCROLL_LEFT_BUTTON = types.Button{
2020-01-19 12:30:09 +13:00
Name: "SCROLL_LEFT",
Code: 5,
Keysym: 6,
}
2020-04-06 10:34:51 +12:00
var SCROLL_RIGHT_BUTTON = types.Button{
2020-01-19 12:30:09 +13:00
Name: "SCROLL_RIGHT",
Code: 6,
Keysym: 7,
}