AustNet AustNet Archive Project — IRC Logs
« All channels | Contribute a log »

// #scripters — 2010-07-28

1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
01:02:57 Join: National ([email protected]) to #scripters
01:03:57 <National> anyone here know how to get i acript to pick up from a usb style games controller?
01:06:39 <Longie> youd need to use dlls and stuff i imagine, so im guessing youre more into software development
01:07:18 <National> kind of
01:07:42 <National> lol i use irc scripting to run other applications
01:07:46 <Longie> depends on what kind of signals the game controller sends i guess
01:07:55 <Longie> im assuming youd need windows hooks and all sorts
01:08:01 <Longie> whic his pretty full on
01:08:05 <Longie> youd need massive dlls for it
01:09:01 <National> are they avail or are thet a creat your own kind of thing
01:09:16 <Longie> well im not entirely sure what you mean so i'll have to say create it
01:09:23 <Longie> im guessing you mean you have like a usb gamepad thing
01:09:30 <National> yeah
01:09:31 <Longie> and you want a script to pick up when it hits left and right and stuff
01:09:40 <Longie> in that case, youdneed to make your own dll
01:09:50 <Longie> unless the controller emulates other keys
01:09:52 <National> well moreso the push buttons
01:09:56 <Longie> then you could use on keypress and such
01:09:58 <National> start button
01:10:13 <Longie> youd have to fdind out what the controller actually does when that button is pushed
01:10:18 <Longie> dragonzap made some dlls
01:10:21 <Longie> might want to find those
01:10:25 <Longie> possibly on www.mircscripts.org
01:10:26 <Longie> might help
01:10:28 <Longie> not sure if it will
01:10:32 <Longie> oh /help on keypress
01:10:42 <Longie> like on *:KEYPRESS:*:echo -a $keycode
01:10:49 <Longie> and start pushing those buttong and see waht comes up
01:10:53 <Longie> but it'll uck with your typing too :P
01:10:55 <Longie> fuck*
01:10:58 <National> cool. ill see if that can help
01:11:05 <Longie> id help you more but i dont have one of those controllers so thats all i can offer oyu
01:11:22 <National> lol i know (and th think of how long ive been around here)
01:11:48 <National> well youve given me a few ideas there
01:11:55 <National> thx Longie
01:11:58 <National> :)
01:12:21 Part: National ([email protected]) from #scripters
04:45:32 Quit: stefan ([email protected]) *.net *.split
04:45:32 Quit: Carson ([email protected]) *.net *.split
04:45:32 Quit: ashley ([email protected]) *.net *.split
04:45:32 Quit: schnoodles ([email protected]) *.net *.split
04:45:32 Quit: Bozza ([email protected]) *.net *.split
04:45:32 Quit: peter ([email protected]) *.net *.split
04:49:19 Join: stefan ([email protected]) to #scripters
04:49:19 Join: Carson ([email protected]) to #scripters
04:49:19 Join: ashley ([email protected]) to #scripters
04:49:19 Join: peter ([email protected]) to #scripters
04:49:19 Join: schnoodles ([email protected]) to #scripters
04:49:19 Join: Bozza ([email protected]) to #scripters
04:49:19 Mode: (by restored.ca.austnet.org) +oo Carson Bozza
06:25:05 Quit: wobelong ([email protected]) Quit: "Ein Volk, ein Reich, ein F�hrer!"-Adlopf Hitler
07:02:39 Part: Carson ([email protected]) from #scripters
07:02:39 Join: Carson ([email protected]) to #scripters
07:02:42 Mode: (by ChanOP) +o Carson
08:26:27 Join: Helamorious ([email protected]) to #scripters
08:32:32 Quit: Helamorious ([email protected]) Ping timeout: 121 seconds
10:13:08 <Longie> morning everyone, you too daniel
10:13:08 <Daniel> Jordan Nicol u wish i was acracky u clapd out bitch so u could get a piece.. put it away skeletor
10:29:10 Join: Helamorious ([email protected]) to #scripters
11:45:50 Quit: Helamorious ([email protected]) Ping timeout: 121 seconds
13:42:30 Join: Helamorious ([email protected]) to #scripters
15:43:34 Quit: Helamorious ([email protected]) Ping timeout: 121 seconds
17:09:15 Nick: ashley is now known as ash
17:39:51 Join: Helamorious ([email protected]) to #scripters
18:45:02 Join: wobelong ([email protected]) to #scripters
19:46:57 Quit: Helamorious ([email protected]) Ping timeout: 121 seconds
21:25:16 Topic Is: Never message anyone.
21:25:16 Set By: (Carson) on: Sat Jan 17 17:17:35 2009
21:43:14 Join: Helamorious ([email protected]) to #scripters
21:57:09 Quit: Helamorious ([email protected]) Ping timeout: 121 seconds
22:18:12 Join: National ([email protected]) to #scripters
22:19:58 <National> Hey Longie i tried to find that dll on that site you gave me... cant find anything like it or that author
22:31:23 <Longie> that dragonzap one ?
22:39:18 <National> yeah
22:39:37 <Longie> oh ok
22:39:40 <Longie> that sucks then :P
22:40:15 <National> no kiddin
22:40:39 <National> its like being stuck in a volvo at bathurst
22:41:21 <Longie> haha yeah
22:41:35 <Longie> might just have to use the on keypress events
22:41:39 <Longie> and se what happens
22:44:05 <National> in alias?
22:44:11 <Longie> yeah
22:44:12 <Longie> um
22:44:14 <Longie> remotes really
22:44:56 <National> ah ok
22:45:04 <Longie> on 1:KEYDOWN:@test:*:echo @test val: $keyval char $keychar
22:45:10 <Longie> then jsut /window -e @test
22:45:22 <Longie> when the window opens up, start pressing buttons on the controller
22:45:29 <Longie> that way it only works when that windows up
22:45:37 <Longie> so it doesnt screw with your other chat windows or whatever
22:46:05 <National> cool
22:47:19 <National> mmm not seeing anything
22:47:30 <National> think this will be a dll hunt
22:47:31 <National> lol
22:47:37 <Longie> ok maybe the controller doesnt emulate keystrokes
22:47:41 <Longie> it has to though
22:47:47 <Longie> like um
22:47:52 <Longie> left is the a key
22:47:55 <Longie> right is D
22:47:57 <Longie> down is S
22:48:01 <Longie> thats how they work, or so i thought
22:48:21 <Longie> change KEYDOWN to KEYUP
22:48:27 <Longie> and make sure @test is the active window when doing it
22:48:29 <Longie> see if that helps
22:48:31 <Longie> probably not
22:48:40 <National> this one has a matrix on it (ECCI Hi Def USB Game Controller)
22:48:45 <Longie> oh ok
22:48:56 <Longie> does it have extra software running for it?
22:49:01 <Longie> like constantly open
22:49:36 <National> nah windows found it and it installed drivers - no disc or download needed
22:49:57 <National> i have test mode open to check it is working atm
22:50:50 * Longie nods
22:50:55 <Longie> must be something else then
22:50:59 <Longie> i assumed it emulated a keypress
22:51:05 <Longie> it has to pretend to press the keys
22:51:09 <Longie> must work a different way
22:51:18 <National> thats what id have thought
22:53:02 <Longie> ok, well, youd have to write a dll
22:53:06 <Longie> that traps WM_ messages
22:53:23 <Longie> fuck that
22:53:25 <Longie> you can do it
22:53:30 <Longie> but if youre not a programmer its hard
22:53:37 <National> lol
22:53:53 <National> think i found his stash
22:54:19 <National> dragonzap isnt on that site... found him on google
22:54:44 <National> now to nut the dll out
22:55:54 <Longie> oh sweet
23:47:10 Quit: National ([email protected]) Ping timeout: 121 seconds
23:53:25 Join: Helamorious ([email protected]) to #scripters