1 (edited by unsigned char* 2013-01-30 02:22:53)

Topic: [Client] Client with native support for xbox gamepads

Hi! I share here this mod to experiment with gamepad and teeworlds....

Demo: http://www.youtube.com/watch?v=yCTaciN1H7w

Features:
- Vibration
- Possibility to open two or more clients to play with all your gamepads!

Configuration:
- Connect your xbox controller to pc
- Download drivers: http://www.microsoft.com/hardware/en-us … or-windows
- In Teeworlds go to Configuration>Controls and assign the gamepad buttons

Variables:

cl_xbox_controller   -> Select controller (Min value: -1 | Max value: 3) [Min value disable all controllers]

Download: http://dl.dropbox.com/u/30566237/teewor … 0-win32.7z


*** This is a test version... a full feature will be integrated in H-Client smile

2

Re: [Client] Client with native support for xbox gamepads

Okay, next feature for H-Client:

SPLITSCREEN!!!

Probably noone will be able to implement it in vanillia... I don't know if teeworlds (SDL, actually) passes key events if the window isn't selected, but probably running 2 instances of tw in windowed mode next to each other will work, and you will be able to play with your mate on one pc. Anyway, implementing it in one client is hard, but possible (When I look at Mine-Tee I think everything is possible for you).

If you think you can make it... Well, it's all up to you if you find this usefull and worth your work...

big_smile

C++/Java my life ^^
If you like dislike button click it
NOW!

3

Re: [Client] Client with native support for xbox gamepads

Do you realize you would need two mouses and thus this is not possible?

Not Luck, Just Magic.

4

Re: [Client] Client with native support for xbox gamepads

Watch the video. He used right stick to look around...

C++/Java my life ^^
If you like dislike button click it
NOW!

5

Re: [Client] Client with native support for xbox gamepads

Ah, so you would need to gather data from two controllers or something? Looks like a huge work for not so much in the end (2 PCs would do the job).

Not Luck, Just Magic.

6

Re: [Client] Client with native support for xbox gamepads

Nice idea... but hard to made xDDD interesting for learning smile its possible using two controllers


I win using only xbox 360 controller! xDDD
http://dl.dropbox.com/u/30566237/youcanwin.png

7 (edited by Ioannisjanni 2013-01-28 18:50:37)

Re: [Client] Client with native support for xbox gamepads

Can you chat ?? (Like with a Xbox keyboard ?? If u dont know what i mean , check this :http://www.slipperybrick.com/wp-content/uploads/2007/04/xbox-keyboard-controller.jpg

I do not know wrote:

Hi! I share here this mod to experiment with gamepad and teeworlds....

Demo: http://www.youtube.com/watch?v=yCTaciN1H7w


*** This is a test version... a full feature will be integrated in H-Client smile

You work so fast and with so many projects , I find it Awesome !

Teeworlds!!!!

8

Re: [Client] Client with native support for xbox gamepads

@Mr.Pinky: Idk if this controller works... but i think that yes... this keyboard send the same signal that standart keyboard..

I work fast? perhaps... but this feature not is hard to made smile you can see with your eyes: http://msdn.microsoft.com/en-us/library … s.85).aspx

Thx for comment smile

9 (edited by 2013-01-28 19:32:42)

Re: [Client] Client with native support for xbox gamepads

Wait a second , I dont exactly know how to connect the controler , Do i need to use a special program ?? (i use the tutorial here: http://support.xbox.com/nl-BE/games/pc- … ows-setup( Sorry that its dutch)but it didnt work . Can you help me ?)

I do not know wrote:

I work fast? perhaps...

I mean you have great ideas and you ACTUALY make them become real . I find that pretty cool !

Teeworlds!!!!

10 (edited by Ich 2013-01-28 19:45:10)

Re: [Client] Client with native support for xbox gamepads

Lol. I wanted to post a demo how i played teeworlds with xbox 360 gamepad in some days. But why a client for that if we got millions of programms which work awesome with millions of helpfull features (i'm using xpadder).

And dude the keys yu choose aren't the best tongue Thats how i did it:
http://www.abload.de/img/unbenannta4sa7.png

Very good for playing flyrace but vanilla sux at all with gamepad

11

Re: [Client] Client with native support for xbox gamepads

Ok... the mod support xbox controller natively...  you don't need any external program to bind "controller>keyboard" smile

If you use external program:
- You need download it xD
- Need configure some shit to work
- Haven't vibration

If you use the mod:
- Need configure keys in controls section (in the future no xD)
- Have vibration (for this i made this mod xD)


I play good (not pro) in vanilla modes and infection... bad with ddrace but only need adapt maps for play ddrace with controller :\

The mod ONLY works with XBox gamepads...  you need xbox wifi adapter or a controller with USB and download the drivers (windows download it automatically)

12

Re: [Client] Client with native support for xbox gamepads

it doesnt work if i just plug it in

Teeworlds!!!!

13

Re: [Client] Client with native support for xbox gamepads

no, you need open teeworlds and assign the buttons in Configuration>Controls

14

Re: [Client] Client with native support for xbox gamepads

I do not know wrote:

no, you need open teeworlds and assign the buttons in Configuration>Controls

Well , the problem is , when i try to input a button ( press the button on controller) it doesnt show up

Teeworlds!!!!

15

Re: [Client] Client with native support for xbox gamepads

I send you a PM

16 (edited by Ioannisjanni 2013-01-28 21:06:33)

Re: [Client] Client with native support for xbox gamepads

sorry , didnt read your post

Teeworlds!!!!

17

Re: [Client] Client with native support for xbox gamepads

you have this?
http://www.blogcdn.com/www.engadget.com/media/2007/02/xbox-360-wireless-windows-2.jpg

or a USB cable?

18 (edited by 2013-01-28 21:21:00)

Re: [Client] Client with native support for xbox gamepads

a usb cable

btw i have windows8

Teeworlds!!!!

19 (edited by unsigned char* 2013-01-28 21:27:39)

Re: [Client] Client with native support for xbox gamepads

Try downloading drivers: http://www.microsoft.com/hardware/en-us … or-windows

In other games you can use it? only have one connected or more?

20

Re: [Client] Client with native support for xbox gamepads

I do not know wrote:

Try downloading drivers: http://www.microsoft.com/hardware/en-us … or-windows

In other games you can use it? only have one connected or more?

Already downloaded them , and i only have one connected .

Teeworlds!!!!

21

Re: [Client] Client with native support for xbox gamepads

You see the led on "1" position in the gamepad?

22

Re: [Client] Client with native support for xbox gamepads

no , i dont

Teeworlds!!!!

23

Re: [Client] Client with native support for xbox gamepads

You need drivers... :B

24 (edited by Ioannisjanni 2013-01-28 22:25:04)

Re: [Client] Client with native support for xbox gamepads

http://i.imgur.com/29zLxFK.jpg I installed that , and It doesnt work !
Plus it says it works fine : http://i.imgur.com/iSJrYwh.png

Teeworlds!!!!

25

Re: [Client] Client with native support for xbox gamepads

Download client again...
Open teeworlds and connect your controller...

See if this appear...
http://dl.dropbox.com/u/30566237/xboxdect.png
if not.. idk why don't work... i filter XINPUT_DEVSUBTYPE_UNKNOWN and XINPUT_DEVSUBTYPE_GAMEPAD...  see http://msdn.microsoft.com/en-us/library … s.85).aspx