0 Members and 2 Guests are viewing this topic.
I've been touching the keymap because I wasn't able to use the calculator at all. I could add the remaining keys to the map if you want me to. What do you suggest for the special keys? F1-F12? Alt? Ctrl? ...
It would be very nice to detect mouse over the Lcd widget and send it to the emulator...
Quote from: antoniovazquezblanco on November 22, 2014, 06:13:04 pmI've been touching the keymap because I wasn't able to use the calculator at all. I could add the remaining keys to the map if you want me to. What do you suggest for the special keys? F1-F12? Alt? Ctrl? ...That's the problem. What about "easy", "normal" keys like (?You can't assign it to "(" on the keyboard as it's Shift-8. (or Shift-9 for qwerty) and that means shift is active.Maybe distinguish between left and right shift?
QuoteIt would be very nice to detect mouse over the Lcd widget and send it to the emulator...That's working already (LMB: touch, RMB: click), if you try pyWrite or crafti. Only the OS doesn't like it.
Quote from: Vogtinator on November 22, 2014, 06:17:57 pmQuote from: antoniovazquezblanco on November 22, 2014, 06:13:04 pmI've been touching the keymap because I wasn't able to use the calculator at all. I could add the remaining keys to the map if you want me to. What do you suggest for the special keys? F1-F12? Alt? Ctrl? ...That's the problem. What about "easy", "normal" keys like (?You can't assign it to "(" on the keyboard as it's Shift-8. (or Shift-9 for qwerty) and that means shift is active.Maybe distinguish between left and right shift?Qt::Key_Question among others is working for me...
Quote from: Vogtinator on November 22, 2014, 06:17:57 pmQuoteIt would be very nice to detect mouse over the Lcd widget and send it to the emulator...That's working already (LMB: touch, RMB: click), if you try pyWrite or crafti. Only the OS doesn't like it.I'm not sure on how to investigate this... Any clue?
That could work, what do you mean by normal keyboard emulation?
Oops, of course, operation not emulation.So if the { key is pressed, it triggers Ctrl and then the ( key on the calc?