Skip to content

397. A device composed onto a Harmony One: its keys in device mode are its family's, its pages are several, and a donor's devices get their inputs

Asked for by todo-compile-one.md 1.2.9 and 1.2.10: the test setup composed with the One's composers onto Logitech's compile of the Denon and the LG for the One, harvest_one_two_devices. Running it end to end for the first time stopped at six places in turn, each a part the composers had never been asked for. Five are closed here; the sixth, an activity's screens on a configuration with no activity, is 1.2.11's.

Sources. Logitech's nineteen distinct compiles for the One, section 395's, and the catalogue archive, decision 15. Neither client nor firmware was opened. The fit of the key table is a scratch measurement over seven of those compiles and is not asserted; what is asserted is each composed device against Logitech's own compile of it, below. Corrected per review, see the end of this section.

A device mode's keys are the family's

What was wrong. The One's device composer wrote an empty list for the mode's own key map, so a device composed onto a One bound nothing to any key in device mode, and the activity composer, which reads an activity's keypad off its devices' maps, section 323, found none. The table that says which command a key takes, HARD_KEYS, section 325, was the Harmony 650's, and it does not carry over by key name: the One has no colour keys, and on Logitech's One compiles Channel Up sends PresetNext on the Philips 70FA930/00S and the Yamaha DSP-A592 where the 650's order gives DirectionUp, and DirectionUp on the Sony CMT-ED2 where it gives NextDisc; and OK comes before Select on the Select, Play and Pause keys where the 650 has Select first, which rests on one device, the Samsung CB-5322A, the only one of the fit's population offering both. Carried over by key name, with the arrows read as section 398 reads them, the 650's table gives 860 of the population's 891 bound keys and 20 of its 33 device modes whole, against 888 of 891 and 32 of 33 for the One's table, a scratch measurement that leaves out scans 36 and 13, which have no key of the same name on the 650. The test below asserts something narrower: the 650's table by its own scans, which is what the One's composer used until now, puts none of the Denon AVR-X4800H's 31 commands where the One's table puts them, since the 650's scans are other keys on the One. That is the old composer's output shown wrong, and not the by name comparison, which no test makes.

The fit. 33 device modes of seven compiles, 32 distinct catalogue entries since the Microsoft MS-1039 is in two, each device's records named against the catalogue's codes composed, section 337's identity: by all three blocks word for word for 878 of the 900 bound keys, and by the first block alone for 22. Per key, a list of commands in order of preference, the first the device has being bound: TOUCH_HARD_KEYS in families/touch/devicekeys.ts, the touch family's deviceModeKeys. It reproduces 1521 of the 1526 key entries, which is 897 of the 900 keys Logitech binds to a command and 624 of the 626 it binds to nothing; all five misses are on the Denon AVR-28, which holds iPod commands and no plain transport ones. Logitech leaves its Rewind and Fast forward unbound, sends Enter on Play and Pause and Return on Stop, where the Pioneer VSX-90TXV's same keys send its iPod commands. No order serves both devices on Rewind, Fast forward and Stop, the Pioneer having a Return as well; on Play and Pause one would, Enter before the iPod commands, and the table keeps the order it has. Held out one catalogue entry at a time, the fitting procedure, run without the orders set by hand and without the condition on scan 13 below, predicts 1452 of the 1480 key entries of the 32 catalogue entries. The orders no device decides are named in the module as choices. Three things no plain list says: scan 13, which the drawing does not show, takes NumberEnter, and Enter only where no other key of the device is bound to the command of that name, HardKey.ifFree. Of the six device modes holding Enter and no NumberEnter, three bind it there and three do not, two distinct catalogue devices against three, and the test is by name rather than by code: the Pioneer CLD50's Enter is the same code its Guide and Select keys send under the name Select, and scan 13 binds it. Scan 36 takes PageUp, which rests on the 2 of the 33 that bind it, and scan 26 binds nothing on all 33, though it does on 3 of the 43 device modes outside the fit. Scans 27 and 29 take DirectionUp and DirectionDown.

Outside the fit. The population leaves out 43 device modes: the devices of the configurations set up through the two test accounts, in their own compiles and carried into the three protocol harvest compiles and phase7_after, and those of one_config. Why they were left out is not recorded; what they share is that a person set them up through an account, so a map may hold an edit, which is not checked. On them the table gives 1223 of 1330 bound keys and 26 of 43 device modes whole, a scratch measurement, and what the misses are is not read here.

The record. All 91 device modes of the eighteen of the nineteen compiles that hold one have one of two shapes, a scratch measurement: the 85 of several pages have 49 entries in one order, a press of 46 keys bound to a list or to nothing and three handlers, tags 0x06, 0x07 and 0x2D, run on entering and leaving the mode and for its screen; the 6 of one page add the two page turn keys bound to nothing, 51 entries, with the handlers ordered otherwise. Corrected by section 420's review: this said 90 device modes and 5 of one page. Counted mode by mode there are 91, the 89 of the English compiles and the Dutch compile's two, and 6 of one page: modes 105, 255, 126, 219 and 223 of the three protocol campaign compiles and one_config's 166, one of them, 219, a page that draws no pad. Which one the count of 5 missed is not known. The 85 stand. The device reader names no mode for harvest_one_families_1's devices, whose mode 73 is a device page by shape, so none of these counts holds it. The 0x07 and 0x2D lists hold the same instructions on every device mode of a compile. The 0x06 list does not: it holds four instructions on every mode of several pages and the first three of those on every mode of one page, which shows on the four compiles holding both kinds. Each device names a copy of its own. The composer takes the shape from an existing device mode of as many pages, so of its own kind, keeps its handlers and binds every key afresh; it shares that device's handler lists rather than copying them, which runs the same instructions and is a choice of ours.

Asserted, test/composecatalogue.test.ts: each of the eight catalogue devices of the harvest composed whole onto its own compile, lettered in ours, binds every key to a record identical to the one Logitech's binds, 30 of 30, 32 of 32, 25 of 25, 28 of 28, 35 of 35, 30 of 30, 31 of 31 and 30 of 30, compared by the code each key sends and so by nothing a naming could fit; and every composed record has Logitech's tags in Logitech's order, 8 of 8. The eight are devices of the fit's own population, so this checks the composer against the compiles and not the table against devices it was not fitted to; the held out figure above is the nearest thing to that, and it is scratch.

A device page of more than six commands

A mode's entry states a pointer per page, modeRecords; the composer wrote one for several pages, so a paged device mode did not read at all. Nothing had run it before the test setup's Plasma. Asserted: fourteen commands take pages of six, six and two, each page's rows its own commands; six take one page.

A donor's own device gets its inputs

Logitech's compile of the Denon and the LG gives neither an input variable, since its compiler writes them only for an activity that puts the device on an input, and the setup's activities put both on one. composeDonorDeviceInputs composes them onto the device the configuration holds: every command its catalogue inputs send is composed into a scratch copy, its record matched word for word in the device's own group, and the one list that sends that record and its quantity alone taken as the command's. All 27 sends of the two devices find their record and their one list. It reads the send's shape from the family, FamilyTraits.sendPrelude, and refuses the Harmony 600 family, whose sends open with a prelude nothing here matches. Since todo-compile-one.md 3.3.3.4 the match itself is the family's, SendShape.donorSendList in families/touch/sends.ts, which the four slot family does not state. Asserted: the LG's input variable takes the catalogue's inputs in order with nothing appended to its group, a device holding its inputs is left alone, and the LG read as the Denon's catalogue entry is refused.

Corrected in section 436: finding each command's record was right and using it was not. The composer handed the shared input composer only the list of the commands the inputs send, which took a command's position in that list as its record, so every one of the Denon's inputs, and the LG's two state variables, sent another command: the Denon's CBL/SAT sent Mode Pure, heard so at the bench in todo-compile-one.md 1.3. Nothing asserted which record a send named, only that each command had one. The records are passed now, ComposeInputs.records.

A menu page of one row grows to two

Adding a device to a menu whose last page held one row was refused, on the ground that what such a page becomes had not been measured beside its original. Over the nineteen compiles a device menu's hit page of one, two or three rows is one geometry each, held by 7, 5 and 13 of them, and each is the one before with a row 872 units below its last, the bottom key moved one scan up and the edges unmoved. So the composer builds the page of a row more from the page it has, withHitPage. The row's background is the picture the menu's first page draws at that row: on Logitech's compiles a row draws one picture on every page of its menu that has it, all 102 device menus of the nineteen, and the three rows of a three row page draw three different pictures, 195 of 195 pages, both scratch measurements. Where the first page has no such row, its second row's picture is taken, which is a choice of ours. A counter is redrawn in the font in force where it is drawn, which on the two device compile was selected before the counter's own tail began. Asserted in test/menupage.test.ts and test/compose.test.ts.

Reading a page's commands is the family's too

The activity composer finds a device's command on its screen by the label drawn there. That reader was the four slot family's corners. On the One a label cannot be read back into the name it was drawn from, since a name breaks at a capital with nothing drawn between the parts and a long word is cut with .., section 394, so the touch family matches a name the other way round: laid out by the same rule and compared line for line. Both are members of the family now, screenItems and drawsName.

Corrected per review. This section first said the fit was over eight compiles and 33 catalogue devices, where it is seven compiles and 33 device modes of 32 catalogue entries; gave the Denon AVR-X4800H's Channel Up as a difference from the 650's table, where the 650's order sends that same code under the name TuneUp; put Guide among the keys where OK comes before Select, where the One's Guide row is the 650's, and did not say the order on the other three rests on one device; called its asserted control a test of the 650's table by key name, where it compares scans; quoted 1521 of 1526 without saying 626 of them are keys bound to nothing, and said every record was named by its three blocks; counted 76 device modes, the scratch's population, as all of them; said the handler lists were alike on every device of one compile, which the 0x06 list does not on the four compiles holding a mode of one page; gave scan 13 as two against three without the unit; did not report the 43 device modes outside the fit; called scans 27 and 29 a pair whose up was not read, where the drawing's candidates already paired 27 with 36 and 26 with 29, which section 398 then decided; and said a three row page draws one picture in its second and third rows, where all three differ on every such page. Two of those were wrong reasons for a right behaviour: the composer takes a device mode of its own kind as the template, so its 0x06 list is the right length, and it takes a row's picture from the first page at that row, which is Logitech's because a row draws one picture on every page. Only the fallback to the second row rested on the wrong sentence, and it is now named as a choice.

What would falsify it

A Logitech One compile of a catalogue device whose device mode binds a key to another command than the table gives, beyond the AVR-28's iPod commands; a device mode of other than 49 or 51 entries; a device menu hit page of a known row count with a second geometry; a device menu whose row draws two pictures on two pages.


Section 396 | the archive | section 398. Section 397 of the findings archive, which is frozen; the reference holds the current answer. The archive on GitHub.