Post Reply 
emu48 question
01-16-2015, 12:37 AM
Post: #1
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.
Find all posts by this user
Quote this message in a reply
01-16-2015, 12:56 AM
Post: #2
RE: emu48 question
Typically the UI can be modified by editing the KML script, but where did you find a Copy hotkey?
Find all posts by this user
Quote this message in a reply
01-16-2015, 04:32 AM
Post: #3
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!
Find all posts by this user
Quote this message in a reply
01-16-2015, 05:49 PM
Post: #4
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":

<Alt><E><C> access over menu
<Ctrl><C> windows standard for copy
<Ctrl><Ins> old windows standard for copy

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

<Alt><E><P> access over menu
<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.
Visit this user's website Find all posts by this user
Quote this message in a reply
01-17-2015, 03:50 AM
Post: #5
RE: emu48 question
(01-16-2015 05:49 PM)Christoph Giesselink Wrote:  
(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":

<Alt><E><C> access over menu
<Ctrl><C> windows standard for copy
<Ctrl><Ins> old windows standard for copy

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

<Alt><E><P> access over menu
<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)
Find all posts by this user
Quote this message in a reply
Post Reply 




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