chaat
Sophomore Member
Posts: 59
|
Post by chaat on Mar 16, 2015 17:16:07 GMT -5
Hi,
I've been trying to run SpfLite in Opensuse Tumbleweed with WINE. It starts ok, but I can not get the enter key (right-ctrl) to work and the ENTER key only functions as a newline command. I found that Opensuse is not processing the Right-Ctrl key so I'm working on that.
However when I tested the keyboardtest.exe program that you provide, it does not recognize the Right-Ctrl key either.
I was hoping to use that to determine what keycode i need to get Opensuse to use when i get instruction as to how to change it.
and help would be much appreciated.
also does the -WINE parameter work in the current version of SPFLite ?
thanks,
Chuck H.
|
|
chaat
Sophomore Member
Posts: 59
|
Post by chaat on Mar 17, 2015 9:25:45 GMT -5
Robert, i tried your keyboardtest program in windows and got the same result. in windows 7, your program shows nothing when i press the right-ctrl key.
|
|
|
Post by George on Mar 17, 2015 10:52:39 GMT -5
chaat: Robert: I can confirm that Keyboardtest does not show the Ctrl keys (alone), probably it never did. But then neither does it show the Shift keys, Caps lock etc. I just retried running under Ubuntu and indeed, the Right-Ctrl key does not appear to be mappable. Using the Right-Ctrl key as an Enter key (or whatever) was always kind of odd, like using the Right-Shift key would be. So I'm not surprised that *NIX/WINE don't support it. I think you'll probably just have to abandon that style of mapping. Yes, I know, bummer.
As to -WINE, Robert is correct, right now the only change it makes is to suppress the creation of ToolTip help entries for dialog input boxes. The last time I tried running under WINE, the ToolTips caused problems in using the dialogs, my assumption was that WINE isn't quite perfect in this area, and since ToolTips are merely a nicety and not essential, I suppressed them.
George
|
|
chaat
Sophomore Member
Posts: 59
|
Post by chaat on Mar 17, 2015 14:07:14 GMT -5
George,
what keycode is treated as the Right-Ctrl key in SPFLite ?
Robert, I think that changing the keyboardtest program would be beneficial.
|
|
|
Post by George on Mar 18, 2015 11:41:24 GMT -5
Chaat: Both the Left-Ctrl and Right-Ctrl come in with ScanCode 0f &H11, but the Right-Ctrl also has the Extended flag set. Robert: As in my email to you, I don't think I ever had the source for the keyboard test program.
|
|
chaat
Sophomore Member
Posts: 59
|
Post by chaat on Mar 18, 2015 16:27:31 GMT -5
guys, i did not mean to imply that any change is needed or requested in SPFLite. I just wanted to know the mechanism that you use to detect the Right-Ctrl key to see if i could modify the keyboard mapping in Linux to get it to generate the same ScanCode etc.
So if SPFLite is checking for a scancode of x'11' with the Extended flag on, hopefully i may be able to find a way to have linux return the same scancode / extended flag.
With that in mind Robert, if you would consider sharing the Keyboard test source code, i could try to look at it myself. I'm not much of a C programmer but i did work with it a bit back in the early 90's.
thanks
|
|