www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/08/02/23:14:43

Xref: news-dnh.mv.net comp.os.msdos.djgpp:1331
Path: news-dnh.mv.net!mv!news.NH.Destek.Net!news2.net99.net!agis!simtel!oleane!tank.news.pipex.net!pipex!uknet!gdt!aber!ngh94
From: ngh94 AT aber DOT ac DOT uk (NIGEL HUGHES)
Newsgroups: comp.os.msdos.djgpp
Subject: Joy-oh-joysticks
Date: 1 Aug 1995 10:11:56 GMT
Organization: Prifysgol Cymru Aberystwyth University of Wales
Lines: 16
Distribution: world
Nntp-Posting-Host: manuel.aber.ac.uk
Keywords: Joysticks, djgpp, large yellow bananananas
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

Dear All,
	Why is it the simplest things cause me grief, whereas writing
complex routines takes me 20 minutes and they work 2nd go?

	Just sussing out how to read the joystick, should be easy enough,
do some "stuff" with the "bits" in 0x0201 I thought (based on PCGPE). No
such bloody luck. When I do an inport the value I get only changes when
I press ctrl on the keyboard, nothing from the joystick. I was only doing
a quick check for the fire buttons, not worrying about directions to start
with (ha should take 3 mins I thought, HA).

	Could somebody please point out my incredibly stupid
mistake?Posting here not r.g.p as there may be some difference with DJGPP
although I have no idea what that could be.

	Nigel "I'm not even worth flaming" Hughes

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019