CrossOver Support - Community Forums

Important Information These are community forums and not official technical support. If you need official support: Contact Us

CrossOver Mac
Discussion about CrossOver Mac

The following comments are owned by whoever posted them. We are not responsible for them in any way.

Back to Threads Reply to Thread

Key re-mapping? (for numeric keypad)

I'd like to remap the keys of my numeric keypad so that they act as directional keys (and page up, page down, etc.) rather than numbers.

If I use WINE, I can do this by creating an .xinitrc file which runs "xmodmap ~/.Xmodmap" on launch. I've modified my .Xmodmap file to remap the numeric keypad keys appropriately (e.g., "keycode 94 = Left").

Anyway, regular old WINE crashes the app I'm trying to run, but it works fine under CrossOver. But I can't figure out how to map the keys in CrossOver.

Any help would be appreciated, thanks.

On the Mac can't you just turn on NumLock on your keyboard and then your number pad runs the second-level characters?

No. Does it work for you that way? Maybe it's my setup, but I use a Windows-based keyboard, and even in Wine the NumLock just kind of sits there looking cute but not doing anything. There's no NumLock on a Mac keyboard, so the OS doesn't really know what to do with it, I guess, and the signal never gets through the OS to Wine. Or at least that what I'm imagining. :)

Could be that the Windows keyboard doesn't map correctly to the Mac OS, and so when you hit numlock the Mac is getting some other keycode it doesn't know what to do with, so it drops the input. Something like ControllerMate (http://www.orderedbytes.com/controllermate/) might help.

No, that's a dead end. The X server built into CrossOver just doesn't support a NumLock key, because Mac OS X doesn't have a keycode for it (see /System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/Events.h). I've created a bug in our bug tracker to do something about this. I may just make the Clear key on the numeric keypad be NumLock, because most Windows programs don't have much use for a Clear key.

Please Note: This Forum is for non-application specific questions relating to installation/configuration of CrossOver. All application-specific posts to this Forum will be moved to their appropriate Compatibility Center Forum.

CrossOver Forums: the place to discuss running Windows applications on Mac and Linux

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi01LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzA4NjEzODE4LCJjc3JmX3Rva2VuIjoid3RhUEdhR2t0UHo4c2F3dCIsImdkcHIiOjB9