1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

gg: update the mouse click callback to pass what mouse button was clicked too (#10225)

This commit is contained in:
KJ Lawrence
2021-05-28 05:46:23 -04:00
committed by GitHub
parent 6e493ca8ca
commit 9fab4af3f1
2 changed files with 12 additions and 3 deletions

View File

@@ -125,3 +125,10 @@ pub enum KeyCode {
right_super = 347
menu = 348
}
pub enum MouseButton {
left = 0
right = 1
middle = 2
invalid = 256
}