Jump to content
Flirc Forums

Tetsuo

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by Tetsuo

  1. This is great yawor ! I can exactly do what I want thank you again for all details, explanation and research ;) I was very far from find that way of USB HID ! Now, I check the HID of the key convert it and record it. For example if I want LEFT WIN + LEFT CTRL + r: MODIFIER_VALUE = LEFT WIN + LEFT CTRL is 8 + 1 = 9 HID_KEY = I check USB HID for 'r' is 15 KEYCODE = convert the hexa in decimal give me 21 (http://www.binaryhexconverter.com/hex-to-decimal-converter) Record my key: ./flirc_util record_api 9 21 For GNU/Linux users you can directly search HID and use: ./flirc_util record_api 9 $(echo "ibase=16; 15" | bc) ./flirc_util record_api MODIFIER_VALUE $(echo "ibase=16; HID_KEY" | bc) It's work like a charm on GNU Linux of course ^^
  2. yawor, thanks for your precious help. It's more easy for me to use the cli now. I follow your advice but I didn't find the right keycode. First find the list with all my key codes (i'm in the french layout): showkey --scancodes I find a common QWERTY / AZERTY keycode for example the 'r': keycode 27 = r R r R paragraph registered paragraph Now I use the cli: ./flirc_util record_api 0 27 finally if I check Flirc keys, the record is 'x' ./flirc_util keys 13 BF292985 x I make the same operation whith my keyboard in a AZERTY / US mode, no chance :( Can you plesase post me your keycodes ? Maybe it'll serve me as reference ?
  3. Hi, it'll be a great help if someone post this kind of howto. It's a pain to try to find keys between the GUI keyboard and a foreign one (like AZERTY french for me). I've try many things like: 1 - a simple equivalence mapping, it's working for "simple" ones like Q for A but not for more complex ones like /*+ ... 2 - config my locale on us keyboard (I'm on GNU/Linux), the map respond good but bad when you come back to your original local keyboard. 3 - have fun to map every GUI keys on with my remote controller and test it in an editor to find mapping. But ... now I lost my precious file ^^. It's a pain for me to make the third option again, so I decide to write you, maybe someone hear me and have made a similar work and be kind to post is howto ^^ Otherwise I love Flirc, it's a fantastic and precious tool, thank you very much.
×
×
  • Create New...