From mboxrd@z Thu Jan 1 00:00:00 1970 From: JD Fenech Subject: Dosemu and Joysticks Date: Tue, 29 Apr 2008 01:25:50 -0500 Message-ID: <4816BF6E.5060205@gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; bh=LugUCPAOpeOQcrV/z/0rII06tRcpsUCeTqSCU/SY3Q8=; b=WTT3QQbJM5dhM15W645krSssK1jW0tZDJKdKMjOddT+kxkP5otSpgrxJjgJG/qJR6SCpGj9l502nzQa7Z0PgdhufidDaZiyo+Y+uF0CDssjhEYFvHdQbw8izfHipFI8ICxcyvca/FcfzgPlvxIIrJjFQ/+pmwZMXxP2ELa/BX0k= Sender: linux-msdos-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-msdos@vger.kernel.org Background: I have a PS1 controller connected to my PC via USB. I know it works, because I'm able to read data from /dev/input/js0 and actually use this in several native linux games. Two questions: 1) In Dosemu, I have no clue what's wrong, but at least one of my DOS games can't figure out there's a joystick. I have this set in .dosemurc. Relevant lines: $_joy_device = "/dev/input/js0" # 1st and 2nd joystick device $_joy_dos_min = (1) # range for joystick axis readings, must be > 0 $_joy_dos_max = (150) # avoid setting this to > 250 $_joy_granularity = (1) # the higher, the less sensitive - useful if you have a wobbly joystick $_ joy_latency = (1) # delay between nonblocking linux joystick reads 2) Is there a recommended joystick tester for dos? I found "joytest.exe" somewhere a few weeks ago, but can't remember where. It seems to indicate I have correctly set up js0 on my box, and it's carrying over to DOS. Thanks in advance, JD