Reading keyboard input: GetPlayerInput(p, INPUT_KEYBOARD);

Moderator: GZDoom Developers

Post Reply
Watermelon
Posts: 36
Joined: Thu Jan 19, 2012 11:43 am

Reading keyboard input: GetPlayerInput(p, INPUT_KEYBOARD);

Post by Watermelon »

So far the only way to input numbers and such on a keypad or some kind of module for mods requires display of a keypad and a navigational system. This unfortunately is inconvenient for the user and the developers. Is there a way to read the char number input or something for the keyboard? A-Z and 0-9?

It would save tremendous coding time and player time while dealing with the hacky workarounds for the interfaces that implement this kind of feature.
User avatar
randi
Site Admin
Posts: 7750
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: Reading keyboard input: GetPlayerInput(p, INPUT_KEYBOARD

Post by randi »

No, GetPlayerInput() only exposes the types of input that already get sent across the network. Exposing the keyboard would require a completely different input model.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”