• Advertisement
Sign in to follow this  

Where to add dll for Xna

This topic is 1978 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement
What DLL for input, you've not really given us any information to help you. And really you should have moved onto XNA4 by now but its your choice

Share this post


Link to post
Share on other sites
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. Edited by fafase

Share this post


Link to post
Share on other sites
just reference it, visual studio will copy it on the output directory of your game.

Share this post


Link to post
Share on other sites
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. Edited by fafase

Share this post


Link to post
Share on other sites
Thats because your code refers to the existing Gamepadstate and gamepads provided by XNA. Somehow you have to refer to the new classes added by Soopah. Unfortunately it seems Soopah is dead and I can't find any doc's on it.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement