emu48 question
01-16-2015, 12:37 AM
Post: #1
 ball Junior Member Posts: 3 Joined: Jan 2015
emu48 question
Hi. Is there a way to remap the copy hotkey to windows-c? The default method is awkward as hell. It's the only thing that prevents me from using it as my regular calculator.
01-16-2015, 12:56 AM
Post: #2
 Dave Frederickson Senior Member Posts: 1,665 Joined: Dec 2013
RE: emu48 question
Typically the UI can be modified by editing the KML script, but where did you find a Copy hotkey?
01-16-2015, 04:32 AM
Post: #3
 ball Junior Member Posts: 3 Joined: Jan 2015
RE: emu48 question
(01-16-2015 12:56 AM)Dave Frederickson Wrote:  Typically the UI can be modified by editing the KML script, but where did you find a Copy hotkey?

I don't think it can. I think the copy command (and all other menu items) exists outside the scope of the KML, but I would love to be proven wrong!
01-16-2015, 05:49 PM
Post: #4
 Christoph Giesselink Member Posts: 153 Joined: Dec 2013
RE: emu48 question
(01-16-2015 12:37 AM)ball Wrote:  Is there a way to remap the copy hotkey to windows-c?

Remap is not possible.

There're 3 (or 4) ways to execute "Edit/Copy Stack":

<Ctrl><C> windows standard for copy
<Ctrl><Ins> old windows standard for copy

There're 3 ways to execute "Edit/Paste Stack":

<Ctrl><V> windows standard for paste
<Shft><Ins> old windows standard for paste

In some Emu48 scripts the <Ctrl> key is used as single key, then the combinations <Ctrl><C> and so on aren't working any more.

Another method is to create an invisible button which is linked with the copy stack menu point. This button then can be called over KML Scancode definitions.

Example:
Code:
 Button 200     Type 0     Size 0 0     Offset 0 0     NoHold     OnUp         MenuItem 19    # copy stack     End End Scancode 91            # Window key     Map 91 200 End

But when you try this example you will see that the windows key isn't a very good choice, the windows start menu is also called at button release.

For completeness, the fourth method is to pick up the Emu48 source and change the source code.
01-17-2015, 03:50 AM
Post: #5
 ball Junior Member Posts: 3 Joined: Jan 2015
RE: emu48 question
(01-16-2015 12:37 AM)ball Wrote:  Is there a way to remap the copy hotkey to windows-c?

Remap is not possible.

There're 3 (or 4) ways to execute "Edit/Copy Stack":

<Ctrl><C> windows standard for copy
<Ctrl><Ins> old windows standard for copy

There're 3 ways to execute "Edit/Paste Stack":

<Ctrl><V> windows standard for paste
<Shft><Ins> old windows standard for paste

In some Emu48 scripts the <Ctrl> key is used as single key, then the combinations <Ctrl><C> and so on aren't working any more.

Another method is to create an invisible button which is linked with the copy stack menu point. This button then can be called over KML Scancode definitions.

Example:
Code:
 Button 200     Type 0     Size 0 0     Offset 0 0     NoHold     OnUp         MenuItem 19    # copy stack     End End Scancode 91            # Window key     Map 91 200 End

But when you try this example you will see that the windows key isn't a very good choice, the windows start menu is also called at button release.

For completeness, the fourth method is to pick up the Emu48 source and change the source code.

The windows key doesn't popup the start menu if there is no start menu (using WINE)
 « Next Oldest | Next Newest »

User(s) browsing this thread: 1 Guest(s)