online multiplayer chess game (note server currently down)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
extends KeyUtils
class_name SpecialKey
export(int) var k_scncode := 0
var unicode := 0
func pressed():
simulate_key_input_event(k_scncode, unicode)
func released():
simulate_key_input_event(k_scncode, unicode, false)
|