English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 24 June 2012, 17:41   #1
bazizten
Registered User
 
Join Date: Jun 2012
Location: Helsingborg
Posts: 17
Send keypresses from external program to WinUAE?

Hello,

Im trying to write a windows program that sends keypresses to a game in WinUAE (Police Quest in this case).

The goal is ofc to be able to macro certain repetative actions and create grahpical buttons for actions in the game.

My software works with any other program in windows but not with WinUAE, which suggests it has something to do with how WinUAE recieves and processes keypresses from the keyboard / mouse.

Any1 tried this or have some idea what the problem is?
bazizten is offline  
Old 24 June 2012, 17:54   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
WinUAE uses rawinput which does not appear to be compatible with most key injection methods. (Only rawinput allows to use all keys and multiple keyboards)

It is also possible injected keys go to "WinUAE null keyboard" input device (Virtual device that collects all keyboard events that don't have any physical source device information)

Open Input panel, set mode to configuration#1, map for example 'A' to Amiga keyboard 'A' and then inject 'A'. Does this fix it?
Toni Wilen is offline  
Old 24 June 2012, 18:05   #3
bazizten
Registered User
 
Join Date: Jun 2012
Location: Helsingborg
Posts: 17
No that didnt work. The strange thing is that when we activate Windows Null keyboard all the buttons work even though we dont remap them.

Last edited by bazizten; 24 June 2012 at 18:51.
bazizten is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
External windows program communicating with program running inside WinUAE xxxxx support.WinUAE 10 19 February 2013 09:27
Muliple WinUAE Program Support scoobydude512 support.WinUAE 3 05 September 2012 19:44
Is There a Way to Configure WinUAE as a Wrapper for an Amiga Program? Franz Bazarov Coders. General 4 14 May 2009 09:36
is it possible to launch windows program from workbench(winuae) turrican3 New to Emulation or Amiga scene 31 19 January 2008 18:31
WinUAE & AmIRC DCC Send hexaae support.WinUAE 6 06 June 2007 20:07

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 16:49.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.07269 seconds with 13 queries