Commit Graph

13 Commits

Author SHA1 Message Date
Laytan Laats
1511162b0a webgpu: fix cstring as parameter not loading correctly 2025-01-09 17:29:31 +01:00
p2jason
2beb495140 Increase size of JS keyboard event key/code buffer size 2024-11-12 13:37:08 +13:00
Laytan
7cfaf0b181 Merge pull request #4415 from p2jason/master
Remove the event queue from odin.js and directly invoke callbacks so they are executed in context where prevent default is possible
2024-11-01 19:48:36 +01:00
p2jason
94acfaf21e Removed event hook callback from add_*_event_listener functions 2024-10-31 13:15:39 +00:00
p2jason
e825326d73 Removed event queue from add_*_event_listener JS functions and added event hook callback 2024-10-31 13:02:46 +00:00
Laytan Laats
bd38b4839c sys/wasm/js: add set_element_style 2024-10-26 22:41:14 +02:00
p2jason
cf89526a9f Changed boolean parameters to bit set in the add_*_event_listener functions 2024-10-25 12:45:24 +01:00
p2jason
8371995bfc Added parameters to the add_*_event_listener JS functions for stopping event behavior 2024-10-24 23:27:40 +01:00
gingerBill
4a616d97df Pass delta time instead of current time to odin.js step 2024-09-29 10:14:56 +01:00
gingerBill
95721fe296 Add gamepad support 2024-09-22 19:29:05 +01:00
gingerBill
66e83ef30d Add gamepad events 2024-09-22 16:24:46 +01:00
gingerBill
94288161e9 Add new js events 2024-09-22 15:52:04 +01:00
gingerBill
634fa7aa30 Move vendor:wasm/js to core:sys/wasm/js 2024-09-22 13:13:34 +01:00