24 June 2012, 17:41 | #1 |
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? |
24 June 2012, 17:54 | #2 |
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? |
24 June 2012, 18:05 | #3 |
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. |
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 |
|
|