• You are not logged in.

    PKL and Flash Games Not Woking Windows 10

    • Started by IQubic
    • 9 Replies:
    • Reputation: 0
    • Registered: 11-Sep-2015
    • Posts: 23

    Whenever I use PKL and try to play Flash on the internet none of the keys work. I can interact with the game using my mouse, but if it says "Press space to jump" I can't seem to get it to work.
    And in the few games that I have found which allow me to rebind the key, I can't get the game to register any letter key as valid. There is no visual indication to show that the key has been changed and in the actual game it does not work; neither the old key or the new one do.

    However I know that PKL works, because in a plain text editor (e.g. Microsoft Word or Notepad++) each key functions as my chosen layout says it should.

    My issue that flash games will not respond to key presses when PKL is on but work fine when I turn PKL off.

    Last edited by IQubic (20-Sep-2015 00:52:16)
    Offline
    • 0
    • Reputation: 0
    • Registered: 12-Sep-2015
    • Posts: 9

    I have the same problem on Windows 7. From time to time I play League of Legends and space is not registered as a key. Weird however is when I go to ingame rebind option space can be actually assigned as a valid key (and still not working). Is it possible that DirectX is messing with that key?
    Hardware solution would be the best ;)

    Last edited by Saturnin (20-Sep-2015 07:32:13)
    Offline
    • 0
    • Reputation: 0
    • Registered: 11-Sep-2015
    • Posts: 23

    I have also noticed this when playing Minecraft. When PKL is active I can re-bind the keys but in-game I nothing works.

    Last edited by IQubic (20-Sep-2015 21:18:21)
    Offline
    • 0
    • Reputation: 214
    • From: Viken, Norway
    • Registered: 13-Dec-2006
    • Posts: 5,362

    You'll notice that there are several input modes (or is output modes more accurate?) for PKL. The default is very good for most things but you may want to experiment with the others for these applications. Look in the pkl.ini file, and there's another file you may have in the main folder which specifies mode for different applications.

    Indeed, for the most difficult situations (typing on PlayStation, anyone?) a hardware solution is awesome. I'd like to make a QICO (QWERTY-in-Colemak-out) device with all the Extend++ trappings some day... :-)

    Last edited by DreymaR (21-Sep-2015 09:43:35)

    *** Learn Colemak in 2–5 steps with Tarmak! ***
    *** Check out my Big Bag of Keyboard Tricks for Win/Linux/TMK... ***

    Offline
    • 0
    • Reputation: 0
    • Registered: 11-Sep-2015
    • Posts: 23

    I'm not seeing where to the output/input modes. Can you help me?

    Offline
    • 0
    • Reputation: 214
    • From: Viken, Norway
    • Registered: 13-Dec-2006
    • Posts: 5,362

    Oh, hang on: That's mostly about non-ASCII input it seems. In pkl.ini, here's how to set the hotkey to change mode:

    ; The original mode for non-ASCII characters may not work with 
    ; all programs (for example GTK applications, like Klavaro or Pidgin)
    ; so you can try alternative modes with this hotkey.
    ; If you have found the best mode, you can write it into the 
    ; nonASCII.ini; and please send it to me as well!
    changeNonASCIIMode = ^+3

    So, if it's the Space specifically. Well, what you could do is to remove/comment its mapping from the PKL layout.ini file! Then it should pass through the hook and be seen by everything else. However, that'd make Extend mode impossible so another tack would be to try a VirtualKey mapping. Either way, you won't then be able to bind fancy stuff to for instance AltGr+Space. But you may not need that?

    But if your Flash games are unwilling to listen to anything, then it's because they're stupid. Flash is sometimes very, very stupid I'm afraid. :-(

    Last edited by DreymaR (23-Sep-2015 10:20:40)

    *** Learn Colemak in 2–5 steps with Tarmak! ***
    *** Check out my Big Bag of Keyboard Tricks for Win/Linux/TMK... ***

    Offline
    • 0
    • Reputation: 0
    • Registered: 11-Sep-2015
    • Posts: 23

    Can I have a template for the nonASCII.ini file?

    Offline
    • 0
    • Reputation: 214
    • From: Viken, Norway
    • Registered: 13-Dec-2006
    • Posts: 5,362

    I don't use it. But since I'm too nice, I googled it for you and found Farkas Máté's default file at BlackDuck OpenHub:

    [global]
    ; Default mode for non-ASCII characters.
    ; Possibly values:
    ;     i : with SendInput windows message. Maybe this is the best
    ;     a : With Alt+Numbers on numpad
    ;     c : Copy the character to the clipboard and paste from it
    default = i
    
    ; There are two clipboard modes: If Restore mode is not active, sending a
    ; Unicode character (like '') will erase the current clipboard content.
    ; If Restore mode is active, the clipboard will be restored
    ; after a short delay (3 sec). This may be slow if the clipboard content is huge!
    restoreClipboard = yes
    
    [programs]
    ; Predefined modes for programs
    klavaro.exe = c
    skype.exe = c
    totalcmd.exe = c
    Last edited by DreymaR (28-Sep-2015 13:14:44)

    *** Learn Colemak in 2–5 steps with Tarmak! ***
    *** Check out my Big Bag of Keyboard Tricks for Win/Linux/TMK... ***

    Offline
    • 0
    • Reputation: 2
    • Registered: 25-Oct-2013
    • Posts: 136
    DreymaR said:

    I'd like to make a QICO (QWERTY-in-Colemak-out) device with all the Extend++ trappings some day... :-)

    It's here: https://i.imgur.com/9CyfrY3.jpg    https://geekhack.org/index.php?topic=69169.0

    Steps needed:
    1. Make the hardware (see the link a how-to) or buy it ready-made (see link as well)
    2. Program the chip to convert Qwerty into Colemak
    3. Build it into a keyboard and/or carry a spare converter with you.

    Offline
    • 0
    • Reputation: 214
    • From: Viken, Norway
    • Registered: 13-Dec-2006
    • Posts: 5,362

    Yup. I wouldn't build it into a keyboard but use it as an USB dongle. Which means USB shield. And yes, I want to do that. And no, I haven't yet. ;-)

    It's pretty sweet that you can buy one for only $50 though! Kudos to the Geekhackers!

    Last edited by DreymaR (28-Sep-2015 21:35:26)

    *** Learn Colemak in 2–5 steps with Tarmak! ***
    *** Check out my Big Bag of Keyboard Tricks for Win/Linux/TMK... ***

    Offline
    • 0