Thats rather an issue of the kind of switch you use. Most games only allow momentary inputs, so a switch that returns to its unpressed position....
Separate names with a comma.