public KeyboardHandler(Client client) { this.client = client; keyboardUS = new KeyboardLayoutUS(); inKeyboardTypingMode = false; commandHistory = new List<string>(); client.KeyDown += new GTA.KeyEventHandler(this.eventOnKeyDown); client.KeyUp += new GTA.KeyEventHandler(this.eventOnKeyUp); }
public KeyboardHandler(Client client) { this.client = client; keyboardUS = new KeyboardLayoutUS(); inKeyboardTypingMode = false; commandHistory = new List <string>(); client.KeyDown += new GTA.KeyEventHandler(this.eventOnKeyDown); client.KeyUp += new GTA.KeyEventHandler(this.eventOnKeyUp); }