Is there any solution to simulate keyboard and joystick
For example I want to rotate a 3D Object ,then if it be in 30'<alpha<60' the x key pressing or keypad num 1 pressing
and can it work in minimize form.my mean is in windows in the other application
suppose I want to make a new controller with VT ,for the other games or apps.
please help,it is urgent.
tnx in advance.
Simulate Keyboard and Joystick(6 posts) (2 voices)
To emulate joystick messages using the keyboard you can use the BB "Keyboard Controller". You can find also: Joystick Controller, Joystick waiter, KeyBoard Mapper, Key waiter etc...
Does this help you?
but how can I emulate Keyboard?
e.g: If my 3d object be in one degree (suppose between 30' and 60'),"W" key pressing(w key down) if the other degree (w key up). Is it possible?
I did not test but I think you need the BB " Is Key Down" that detects if a key is down or not, there are 2 output "True" or "False".
Does this answer to your question?
no it doesn't.
I want to press key by code or link not via keyboard.got it?
I am not sure to understand correctly your need, could you check this sample code and see the functions proposed by the Input Manager, does it answers to your need?
InputManager iman = InputManager.Cast(bc.GetManagerByGuid(GetInputManagerGuid()));
int joystick_count = iman.GetJoystickCount();
You must log in to post.