Hi all,
So I have this dll for input. It is supposed to connect my random gamepad to Xna since Xna only accepts Xbox Controller as default.
Where am I supposed to place it so that I can reference it in my project?
Oh and i am using Xna3 if that changes anything.
Thanks
5 replies to this topic
#3 Members - Reputation: 120
Posted 23 August 2012 - 10:30 AM
The dll is soopah.xna.input to connect random gamepad to Xna as it does not take input from other ocntroller than the Xbox one. What cans I say more...?
Concerning Xna3 or 4, I was expecting it to come up but did not explain my "choice" thinking it was irrelevant to the question.The reason is simply that I have not changed my graphic card which is old so does not support shader model for Xna4. Also, between the two's regarding my level and interest in Xna, I do not feel the need to invest in a modern card.
Concerning Xna3 or 4, I was expecting it to come up but did not explain my "choice" thinking it was irrelevant to the question.The reason is simply that I have not changed my graphic card which is old so does not support shader model for Xna4. Also, between the two's regarding my level and interest in Xna, I do not feel the need to invest in a modern card.
Edited by fafase, 23 August 2012 - 11:14 PM.
#5 Members - Reputation: 120
Posted 24 August 2012 - 10:59 AM
Ok I fixed it, I think. At least it is reference. I figured it out. But I am not sure it works though. Is there a particualr process? Or is it just meant ti be called like a regular gamepad?
I have
[source lang="java"]using Soopah.Xna.Input;GamePadState gamePadState;public void Update(GameTime gameTime){ keyboard = Keyboard.GetState(); gamePadState = GamePad.GetState(PlayerIndex.One); if ( gamePadState.DPad.Left == ButtonState.Pressed) { position.X -= speed * gameTime.ElapsedGameTime.Milliseconds / 1000;}[/source]
but nothing moves...I do not get any error though.
I have
[source lang="java"]using Soopah.Xna.Input;GamePadState gamePadState;public void Update(GameTime gameTime){ keyboard = Keyboard.GetState(); gamePadState = GamePad.GetState(PlayerIndex.One); if ( gamePadState.DPad.Left == ButtonState.Pressed) { position.X -= speed * gameTime.ElapsedGameTime.Milliseconds / 1000;}[/source]
but nothing moves...I do not get any error though.
Edited by fafase, 24 August 2012 - 11:32 AM.






