Jump to content
Flirc Forums

Leaderboard

Popular Content

Showing content with the highest reputation on 02/15/2014 in all areas

  1. Hi, below is the solution for your problem: You will need to use the command line. You should know how to navigate through your file system and call programs using the command line. ---Theory:--- For the OS, the numpad keys are different keys than the main field number-keys. The operating system maps the same symbol (the number) to both keys. To get your mouse emulation, you need to map the low level keypad values, instead of the main key field keys. The Flirc GUI can map the main field keys only, but not the numpad keys. ---Obtaining the needed values:--- To program the numpad keys, you need the raw USB-HID values as decimal numbers, and program them with the command line tool and the tool’s record_api function. You can get the raw values from here: http://www.freebsddiary.org/APC/usb_hid_usages I’ve quoted the relevant part below: For reference, this is the main keyboard that the GUI programs into Flirc: using a Hex to decimal number converter (like this online one: http://www.statman.info/conversions/hexadecimal.html), you can convert those to decimal numbers. This is range 30-39 decimal. But you will need those: the Keypad numbers 1-0 have decimal values of 89 to 98. You can calculate the other values (+, -, / keys, etc), if needed, by simply counting down from 89. --- Programming Flirc:--- First, unlearn all the keys you want to use for the mouse emulation (with the GUI or command line tool). (For linux, the command line tool we will use is called flirc_util. For windows it *might* be called flirc_util.exe. I don’t know, as I don’t use windows, look in the program’s install folder) Now you use the command line tool to program the Keypad keys, by using the program’s record_api function: Quote from the program’s internal help: You don’t want any modifiers, so the first argument is 0 and the command is: flirc_util record_api 0 <arg> or flirc_util.exe record_api 0 <arg>, where <arg> is a number between 89 and 98. eg.: flirc_util record_api 0 89 to program the keypad 1, flirc_util record_api 0 90 to program the keypad 2, etc… so you start the program with the proper arguments for the key you want to program, then the program waits until you press a key on your remote, programs it and exits. you redo that for every key you want to map, entering the correct value as a start parameter. BTW: note for windows users: you cannot simply click a command-line program, that won’t work. You have to start the command line from the menu, navigate to the exe’s folder (use cd command) and then type the program name and its parameters. <Tab> can be used for auto-completion, <Arrow up> and <Arrow down> to recall the last entered commands (so you don’t need to retype the command 10 times, but can use <Arrow up> and edit the last command.) I hope that helps
    1 point
  2. How to prepare your Harmony Remote before Mapping it with FLIRC? Hi guys, best thing to do is add a one of these 2 TV profiles to your Harmony remote, example either a Panasonic TC-P65VT30 or SAMSUNG LN46C650L1F!! And of course, dont choose the same TV brand you own. i tested both of these TV profile and they work %100!! No repeat key issues and if you hold down left or right arrow, it'll scroll fast!! then using the HARMONY desktop software or MyHarmony.com just make sure to not leave buttons un'asssigned on your chosen TV profile becuz if u do, those un'assigned buttons wont be map'able using FLIRC's GUI! So dont go crazy here, the point is simply to assign actions to buttons on your remote,, which action it is and on which buttons its assigned FLIRC doesnt care! Like i said, your official map'ing will be done using FLIRC's GUI anyways! and also, make sure to not assign the same action twice here!! So use different actions for each buttons! this will prevent the famous 'Button already exists' error from showing up when you'll configure your harmony using FLIRC's GUI! Happy Mapping!! :)
    1 point
×
×
  • Create New...