Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - David McKenna

Pages: [1] 2 3 ... 31
1
Programming / Re: Qt6
« on: November 20, 2022, 01:39:50 pm »
Paul,

 You never cease to amaze! 'Helloworldgui' works here and console too. Only 10 days and you have a basic working QT6.... thanks heaps!

Regards,

2
Games / Re: DOS VDM - USB and Game port Gamepad support
« on: November 13, 2022, 01:46:48 pm »
Hi Martin,

  Here it is attached...

Regards,

3
Hardware / Re: Multi-stream Audio - A Theory
« on: November 10, 2022, 11:31:49 pm »
 Hi Ibrahim,

  You might want to check out Ko Myung-Huns' latest version of his 'Kai' library (www.github.com\komh\kai) version 2.2. It has what you are talking about (minus the app) to mix sound from apps that use the library - no more gag when 2 sound streams happen together! Unfortunately, I am not aware of any apps that are compiled with this version, as BWW still only has the 2.1 version available on their RPM server. Maybe you could contact him and discuss some of your ideas...

  Wondering if Dooble is compiled with the Kai library? Would be nice to use the latest version if it does...

Regards,

4
Programming / Re: Qt6
« on: November 10, 2022, 11:19:50 pm »
 Hi Paul,

 Wow - The journey of a thousand miles starts with one step! Would be absolutely awesome if you can make QT6 work. I'll be following and testing when/if you have some binaries...

Regards,

5
Games / Re: DOS VDM - USB and Game port Gamepad support
« on: November 10, 2022, 11:12:39 pm »
OK, got some test logs in DirectInput mode with my Logitech F310 gamepad. Each control string is still the same: 144 digit hexadecimal. But they are different values from XInput mode. Also, the 'Logitech' button has no output, but the 'Mode' button does in DirectInput mode. Finally, the triggers on the front at the bottom are simple on-off buttons in DirectInput mode (not continuous).

 I used the same format as before, like this:

  Started with buttons in this order: LB, RB, Back, Mode, Start, A, B, X, Y: 'DIbuttons.txt'. These are all on-off. The 'Logitech' button does not produce any output so not included.

 Then the 2 front triggers in this order: LT, RT - pulled them all the way on, then all the way off one at a time: 'DItriggers.txt'. These are on-off buttons in DI mode..

 Next the thumbpad at top left in this manner: forward, 45deg clockwise, 90 deg clockwise etc.: 'DIleftpad2.txt'. This is a 8-way on-off button.

 Now each joystick separately this way: press all the way forward - let go, then all the way backward-let go, then all the way left-let go, then all the way right- let go: 'DIrightstick.txt' and 'DIleftstick.txt'. These are continuous.

 Finally, the joysticks are also on-off buttons when pressed down - did the left then right stick button: 'DIjoybutton.txt'.

 HTH- would be good if Dave Yeo could confirm his works with similar settings...

Regards,

6
Multimedia / Re: playing/convert AIFF and AIFC files: interest anyone ?
« on: November 10, 2022, 12:10:46 pm »
Hi Lars,

  I would be interested, transformation too. I also occasionally get *.m4a files (also an Apple format, I think iPhones use it) that would be nice to have on the WPS.

Regards,

7
Games / Re: DOS VDM - USB and Game port Gamepad support
« on: November 09, 2022, 10:06:57 pm »
Hi Wim,

  Great to see you posting here again! - hope you got thru your health issue alright.

 Of course you are correct - it was the bcdDevice value that prevented DirectInput mode from working. Now my CONFIG.SYS has this:

DEVICE=C:\OS2\BOOT\USBECD.SYS /D:046D:C21#:##14 /N:$GAMEPD$ /S

 and I can use both XInput and DirectInput mode with OInput.cmd. I'll get a new set of test files for this mode and post (probably not until tomorrow evening though... busy with other stuff tonight).

Regards,

8
Games / Re: DOS VDM - USB and Game port Gamepad support
« on: November 09, 2022, 11:57:07 am »

Is that # a typo for 6?
Dave,

  No, it is a place holder. In XInput mode it is a 'd' and in DirectInput mode it is a '6'. The place holder allows for me to switch modes without changing the line in CONFIG.SYS.

Regards,

9
Games / Re: DOS VDM - USB and Game port Gamepad support
« on: November 07, 2022, 10:55:27 pm »
Hi Mark,

  Here is the line I use in CONFIG.SYS:

DEVICE=C:\OS2\BOOT\USBECD.SYS /D:046D:C21#:4014 /N:$GAMEPD$ /S

 seems to work fine in XInput mode, not so in DirectInput mode. As far as overlapping functions, I really don't know since I've only had this thing for a month or 2 and got it just for this purpose. Haven't tried it yet on Windows even. Got any advice on what I could test on Windows to determine overlapping functions?

Regards,

10
Games / Re: DOS VDM - USB and Game port Gamepad support
« on: November 06, 2022, 07:52:48 pm »
 Turns out I was wrong about the thumbpad - it is actually an 8 way switch. Got a new log... leftpad2.txt. Took this starting in the forward direction, then 45deg clockwise, then 90 deg. etc. all the way around.

11
Games / Re: DOS VDM - USB and Game port Gamepad support
« on: November 06, 2022, 07:25:52 pm »
 Dave,

 Hmmm.. how old is yours? Just got mine a couple months back - maybe you have an older version? The manual mine came with says to use XInput (doesn't need drivers) unless it doesn't work, and that DirectInput needs special software installed (but is programmable). Also, all the 'Mode' button does is switch the function of the left thumbpad and left joystick from one to the other (essentially turns the left joystick to a 4-way button).

Regards,

12
Games / Re: DOS VDM - USB and Game port Gamepad support
« on: November 06, 2022, 05:17:36 pm »
 Hi Mark,

 OK, I got some logs. From looking at oinput.cmd console output, it seems this Logitech F310 gamepad (in XInput mode) has 2 types of controllers: on-off (mostly buttons) and continuous (triggers and joysticks). The on-off buttons display a hexidecimal string (0-9, A-F) 144 digits long when I hit the button, then another one when I let go. The continuous controllers show the same in a stream until I either let go, or hold a position (looks like 4096 values from full off to full on).

 So I started with buttons in this order: LB, RB, Back, Logitech, Start, A, B, X, Y: 'buttons.txt'. These are all on-off. The 'Mode' button does not produce any output so not included.

 Then the 2 front triggers in this order: LT, RT - pulled them all the way on, then all the way off one at a time: 'triggers.txt'. These are continuous.

 Next the thumbpad at top left in this manner: forward, backward, left, right: 'leftpad.txt'. This is a 4-way on-off button.

 Now each joystick separately this way: press all the way forward - let go, then all the way backward-let go, then all the way left-let go, then all the way right- let go: 'rightstick.txt' and 'leftstick.txt'. These are continuous.

 Finally, the joysticks are also on-off buttons when pressed down - did the left then right stick button: 'joybutton.txt'.

 Hope this is useful. What would be the next step?

Regards,

13
Games / Re: DOS VDM - USB and Game port Gamepad support
« on: November 06, 2022, 01:17:00 pm »
Mark,

  Not -80! I meant 'approximately 80F' (using the '~' symbol). Ended up at 82F - not quite a record. I'm East Coast US, mid-Atlantic (Delaware). If it ever hits -80 here, I won't be any more...

 I hope to get some time today to play with this and at least get the logs you requested and post them here. I'll attach my oinput.cmd file. Haven't even tried xevents yet...

Regards,

14
Games / Re: DOS VDM - USB and Game port Gamepad support
« on: November 06, 2022, 01:04:10 pm »
Dave,

 No red light on mine, but there is a 'Mode' button on top to the left of the 'Logitech' button with a green light that goes on-and-off when I press 'Mode'. But that doesn't change the Input type - there is a small switch on the bottom of the unit that does that. You can tell which input mode you are in by looking in the Hardware manager - it will show 'Logitech Inc. F310 Gamepad (XInput Mode)' or 'Logitech Inc. F310 Ganepad (DirectInput Mode)' depending on the switch position - or use lsusb.

Regards,

15
Games / Re: DOS VDM - USB and Game port Gamepad support
« on: November 05, 2022, 06:30:13 pm »
Hi Mark,

 Jeez... I hope you like snow. Record temps here today.. ~80F.

 I have been playing around with the gamepad and actually got some progress.. if I set it to XInput (it has a switch to change between DirectInput and XInput, whatever they are) and use the Oinput64 (for a Playstation controller I believe) file that Wim posted a while back, I get controller output on the console. Any other Oinput file, or DirectInput, gives me a sys0031: A device attached to the system is not functioning. Not sure what to do with it at this point (since Wim has backed off on this project), but it's a start. I'll fool around with it as time permits. Would be nice to know if this works for Dave too...

Regards,

Pages: [1] 2 3 ... 31