mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-07 16:18:52 +00:00
Add new js events
This commit is contained in:
@@ -35,7 +35,7 @@ Event_Kind :: enum u32 {
|
|||||||
Submit,
|
Submit,
|
||||||
Blur,
|
Blur,
|
||||||
Change,
|
Change,
|
||||||
HashChange,
|
Hash_Change,
|
||||||
Select,
|
Select,
|
||||||
|
|
||||||
Animation_Start,
|
Animation_Start,
|
||||||
@@ -82,6 +82,9 @@ Event_Kind :: enum u32 {
|
|||||||
|
|
||||||
Context_Menu,
|
Context_Menu,
|
||||||
|
|
||||||
|
Gamepad_Connected,
|
||||||
|
Gamepad_Disconnected,
|
||||||
|
|
||||||
Custom,
|
Custom,
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -117,7 +120,7 @@ event_kind_string := [Event_Kind]string{
|
|||||||
.Submit = "submit",
|
.Submit = "submit",
|
||||||
.Blur = "blur",
|
.Blur = "blur",
|
||||||
.Change = "change",
|
.Change = "change",
|
||||||
.HashChange = "hashchange",
|
.Hash_Change = "hashchange",
|
||||||
.Select = "select",
|
.Select = "select",
|
||||||
|
|
||||||
.Animation_Start = "animationstart",
|
.Animation_Start = "animationstart",
|
||||||
@@ -164,6 +167,9 @@ event_kind_string := [Event_Kind]string{
|
|||||||
|
|
||||||
.Context_Menu = "contextmenu",
|
.Context_Menu = "contextmenu",
|
||||||
|
|
||||||
|
.Gamepad_Connected = "gamepadconnected",
|
||||||
|
.Gamepad_Disconnected = "gamepaddisconnected",
|
||||||
|
|
||||||
.Custom = "?custom?",
|
.Custom = "?custom?",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user