Where to add dll for Xna

Started by
4 comments, last by 6677 11 years, 7 months ago
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
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
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.
just reference it, visual studio will copy it on the output directory of your game.
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.
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.

This topic is closed to new replies.

Advertisement