English Amiga Board

English Amiga Board (https://eab.abime.net/index.php)
-   support.WinUAE (https://eab.abime.net/forumdisplay.php?f=5)
-   -   Custom input events (https://eab.abime.net/showthread.php?t=64370)

CFou! 18 May 2012 21:48

Custom input events
 
Quote:

Originally Posted by Toni Wilen (Post 819042)

wonderfull it's resolve my DVD problem ;)


for following version is possible to add a key to switch option "fastest possible/cycle exact"

it's will be interesttng to have workbench in fastest mode and quickly change option in game pressing a simple key if 'cycle exact' option needed whitout open setup presssing F12.

what's you option about that?

Toni Wilen 19 May 2012 09:15

Quote:

Originally Posted by CFOU! (Post 819068)
for following version is possible to add a key to switch option "fastest possible/cycle exact"

it's will be interesttng to have workbench in fastest mode and quickly change option in game pressing a simple key if 'cycle exact' option needed whitout open setup presssing F12.

what's you option about that?

Search for "custom event".

Something like this: http://eab.abime.net/showpost.php?p=426792&postcount=7

CFou! 19 May 2012 12:42

Quote:

Originally Posted by Toni Wilen (Post 819139)
Search for "custom event".

Something like this: http://eab.abime.net/showpost.php?p=426792&postcount=7

I have found 'custom event' in input

but what is option to able/disable following option:
-exact cycle
-fastest possible

i have tested to desable JIT pressing F5 but it seems not works :( (see picture) have you an idea?

Toni Wilen 19 May 2012 13:31

(moved from beta thread)

Try adding quotes ("cachesize=0")

CFou! 19 May 2012 14:39

Quote:

Originally Posted by Toni Wilen (Post 819163)
(moved from beta thread)

Try adding quotes ("cachesize=0")


1) now it's working will slot1 but slot3 not activated pressing jey a second time using:
in slot 1: "cachesize=0" (turn JIT off) This is "press" event.
in slot 2: empty This is "release" event
in slot 3: "cachesize=8192" (turn JIT on) This is "secondary press" event
in slot 4: empty This is "secondary release" event

if i press a second time key only Slot1 event is activated???

2) but which option should I type in a slot ?
- activate or disactivate "Fastest possible"
- activate or disactivate "approxiamlete a500/a1200 or exact cycle"

Toni Wilen 19 May 2012 15:56

Looks like it got broken in 2.4.1.. (when custom event autofire support was added)

CFou! 19 May 2012 18:14

Quote:

Originally Posted by Toni Wilen (Post 819189)
Looks like it got broken in 2.4.1.. (when custom event autofire support was added)

OK

but you have don"t respond t omy second question

What is custom event to activate/desactivate approximate A500/a1200 or Fastest possible?

Toni Wilen 19 May 2012 18:19

Fastest possible: m68k_speed=max
Approx: m68k_speed=real
CE: cycle-exact=true (important: JIT must be disabled first and CPU speed set to real!)

CFou! 19 May 2012 19:04

Quote:

Originally Posted by Toni Wilen (Post 819210)
Fastest possible: m68k_speed=max
Approx: m68k_speed=real
CE: cycle-exact=true (important: JIT must be disabled first and CPU speed set to real!)

THANXS

CFou! 20 May 2012 02:58

Quote:

Originally Posted by Toni Wilen (Post 819210)
Fastest possible: m68k_speed=max
Approx: m68k_speed=real
CE: cycle-exact=true (important: JIT must be disabled first and CPU speed set to real!)

badly it don't work :('

m68k_speed or cycle-exact are no effect... only Cachesize seems work fine

Toni Wilen 20 May 2012 09:08

Quote:

Originally Posted by CFOU! (Post 819303)
badly it don't work :('

m68k_speed or cycle-exact are no effect... only Cachesize seems work fine

"don't work" isn't a bug report.

What was the exact string you tried? You need to disable JIT first.
It may be easier to test using uae-configuration instead of input GUI.

CFou! 20 May 2012 14:39

Quote:

Originally Posted by Toni Wilen (Post 819320)
"don't work" isn't a bug report.

What was the exact string you tried? You need to disable JIT first.
It may be easier to test using uae-configuration instead of input GUI.

i had test without JIT:

using input GUI

uaeconfig file contain following line:
input.1.keyboard.0.button.64.F6='"m68k_speed=real"'.0,'"cycle-exact=true"'.0.K,'"m68k_speed=max"'.0.J

for real speed pressing F6
exact cycle pressing Crtl+F6
maximal speed pressing Shift+F6

but it don't works... no changement pressing F6 key in uae

have you an idea?

question 2: if i want real cycle+JIT off pressing F6,
must i type it in uae's config file?:
input.1.keyboard.0.button.64.F6='"cachesize=0" "m68k_speed=real"'.0

Toni Wilen 20 May 2012 15:00

Oops, it was cpu_speed not m68k_speed (m68k_speed is internal variable only)

EDIT: it seems qualifiers aren't working exactly right with custom events..

Toni Wilen 20 May 2012 15:27

http://www.winuae.net/files/b/winuae.zip should fix all custom event qualifier issues. Please confirm. (include config file lines if there are still problems)

CFou! 20 May 2012 16:06

Quote:

Originally Posted by Toni Wilen (Post 819361)
http://www.winuae.net/files/b/winuae.zip should fix all custom event qualifier issues. Please confirm. (include config file lines if there are still problems)

great

thank's a lot, it's working now but not 'cycle-exact=true'

is perhaps ?
cycle_exact=true

Toni Wilen 20 May 2012 17:54

Quote:

Originally Posted by CFOU! (Post 819370)
great

thank's a lot, it's working now but not 'cycle-exact=true'

is perhaps ?
cycle_exact=true

yeah, it is cycle_exact.

It is probably best to check configuration file, it uses exact same entries as custom input and uae-configuration.


All times are GMT +2. The time now is 14:44.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.

Page generated in 0.04999 seconds with 11 queries