0

Hiw I can get do the key event for Ctrl?

How I can use Ctrl in key events. For example I am using 's' to save data means whenever I click 's' key the data will be saved in a file. So how can use the key ctrl in the same manner?

23rd Oct 2020, 3:49 PM
Khaled ^^ خالد القريشي‎
Khaled ^^ خالد القريشي‎ - avatar
2 Answers
+ 1
event.isControlDown()
23rd Oct 2020, 4:15 PM
JaScript
JaScript - avatar
+ 1
It is okay I already got it fixed thank you. Btw I used VK_CONTROL
23rd Oct 2020, 4:16 PM
Khaled ^^ خالد القريشي‎
Khaled ^^ خالد القريشي‎ - avatar