Apple’s new MacBook Pro Touch Bar is powered by a variant of WatchOS

apple macbook pro touch bar watchos eos front image
During Apple’s press conference on Thursday, we were rather dazzled by the new Touch Bar in the MacBook Pro, a touch-enabled OLED-based “strip” embedded above the keyboard that extends from one side of the keyboard to the other. It essentially keeps both hands in the keyboard area, with one hand using the huge trackpad and the other accessing tools on the bar, eliminating the mouse. But how does this strip work?

Touch Bar is powered by WatchOS

Naturally, Apple isn’t going to come forth to reveal all of its secrets. However, Irish programmer and developer Steven Troughton-Smith took a close look at the hardware and software to determine it’s one huge Apple Watch monitored by Apple’s new T1 security chip. This chip is supposedly a variant of the S1 system-on-chip (SoC) processor used in Apple’s wearables.

In a nutshell, MacOS will send information about the current frame stored in memory (before it’s flashed on the screen) to the Touch Bar, which relies on a special version of WatchOS. This data is sent over an internal USB connection, and WatchOS will relay multitouch input events back to MacOS to render on the stored screen state before it’s displayed.

At one point, rumors suggested that the T1 chip would control the Touch Bar for power reasons outside the security features. Troughton-Smith believes that this is still possible, allowing the strip to remain functional when the processor and MacOS are in sleep mode, possibly even turned off. Overall, the chip is used to manage the security of input devices like Touch ID, the camera, the Touch Bar, and so on.

“From the file system, even though it’s a variant of WatchOS, it seems to be called e[mbedded]OS. Or just ‘eos’, sans marketing capitalization,” he writes. “The ‘Bridge’ code name seems to make a lot of sense, considering it’s bridging between the iOS and MacOS worlds in one product.”

The variant of WatchOS used in the Touch Bar supposedly can’t run stand-alone WatchOS apps. The Touch Bar itself is backed by a 25MB “ramdisk, a virtual hard drive stored in memory for booting up the OLED strip and controlling its hardware. The Touch Bar will also only be capable of handling one active program at a time, thus programs running in the background will be unable to take control of the bar.

The long and skinny on resolution

As for the actual hardware specs of the Touch Bar, it supports 10-point touch input. The bar replaces the typical row of function keys on the keyboard, so its physical size is roughly the same from front to back. Physically, the OLED strip measures 2,170 pixels wide and 60 pixels high. It’s a high-resolution Retina screen, so with UI scaling, it equals out to a perceived resolution of 1,085 x 30. This does not include the Touch ID sensor, which is technically part of the Touch Bar device.

To break the three regions down physically, the System Button has a dedicated 128 pixel area, the App Region has a dedicated area of 1,370 pixels, and the Control Strip has a maximum collapsed area of 608 pixels. These three areas are divided by two gaps measuring 32 pixels each. Apple goes even further with the app control design, stating that the default width between controls should be 16 pixels, the small fixed space should be 32 pixels, and the large fixed space should be 64 pixels.

For instance, the definition of a “fluid” layout in the App Region would be buttons measuring 144 pixels wide separated by gaps measuring 31 pixels wide. Or, in the case of document editing, a list for possible words would appear in a field measuring 890 pixels wide, a button measuring 144 pixels wide next to it, and two additional controls measuring 151 pixels wide.

“In a @2x graphic, one point equals two pixels. For example, an icon that’s 36px by 36px translates to 18pt by 18pt,” Apple explains to developers. “Append a suffix of @2x to your image names, and insert them into @2x fields in the asset catalog of your Xcode project.”

Some of the standard inputs and displays offered by the Touch Bar include buttons to initiate app-specific actions, toggles such as turning on underlining while creating a document, candidate lists that show suggested words, character pickers, color pickers, labels that describe a control (“add location” etc.), and popovers. This latter function appears as a stacked icon in a collapsed state, but when touched, will expand across the entire App Region to the right. Customers will also see sliders, scrubbers (like the ability to slide through open Safari tabs), segmented controls, and sharing service pickers.

Does Touch Bar pave the way for more iOS features and apps in MacOS?

Again, there’s indication that the T1 chip and Touch Bar are tied together outside the security envelope. As previously mentioned, Troughton-Smith theorizes that the Touch Bar could remain active when the processor and MacOS are in low power, perhaps even turned off. This could lead to iOS features and apps on MacBook Pros in the future.

“Perhaps someday it could run a higher class processor, like Apple’s A-series chips, and allow MacOS to ‘run’ iOS apps and Extensions, like iMessage apps, or manage notifications, system tasks, networking, during sleep, without having to power up the x86 CPU,” he speculates.

However, he also points out the link between the T1 chip and the Touch ID sensor. They’re both tied together like the way Touch ID is linked to the security chip in Apple’s latest iPhones. If the sensor goes out, both the sensor and the security chip will need to be replaced. And based on Apple’s Touch Bar guidelines, the Touch ID sensor appears to be physically part of the OLED device, so that indicates the whole section above the keyboard would need to be replaced if that’s the case.

One confirmation backing speculation that the Touch Bar can run without MacOS loaded was provided by Apple software engineering chief Craig Federighi. He acknowledged that the OLED strip provides visual function keys when running Microsoft Windows on a Mac. Apple provides what it calls Boot Camp, which allows users to install Microsoft Windows and boot either into MacOS or Microsoft’s platform on a Mac device.

Apple sets the Touch Bar rules

Apple now provides developers with an application program interface (API) and guidelines for developing Touch Bar support in their apps and programs. According to Apple, the Touch Bar is an input device, and not a secondary screen even though, technically, it is a screen.

“The user may glance at the Touch Bar to locate or use a control, but their primary focus is the main screen,” Apple states. “The Touch Bar shouldn’t display alerts, messages, scrolling content, static content, or anything else that commands the user’s attention or distracts from their work on the main screen.”

Some of the rules Apple is enforcing include concluding tasks on the Touch Bar that begin on the OLED strip, avoid using Touch Bar for replacing well-known keyboard shortcuts, avoid mirroring Touch Bar interactions on the main screen, provide controls that product immediate results, and more.

Computing

Amazon takes $300 off Intel Core i7 Surface Pro 6 in latest sale

If you're looking for savings on the Surface Pro 6, Amazon is the place to shop. It currently is discounting the Intel Core i7 variant of Microsoft's latest 2-in-1 by $300, though no Type Cover is included.
Mobile

How to switch from iPhone to Android: The ultimate guide

If you've decided to bridge the great tech divide and leave Apple's walled garden for the unknown shores of Android, then you'll find all the tips and advice you need to begin switching from an iPhone to an Android device.
Deals

The best iPad deals for December 2018

In the wide world of tablets, Apple is still the king. If you're on team Apple and just can't live without iOS, we've curated an up-to-date list of all of the best iPad deals currently available for December 2018.
Deals

The best Apple Watch deals for December 2018

The Apple Watch has surged to prominence in recent years. If you're in the market for an iOS wearable, we've sniffed out the best Apple Watch deals available right now for all three models of this great smartwatch.
Computing

Latest Facebook bug exposed up to 6.8 million users’ private photos

An API bug recently left an impact on Facebook users. Though the issue has since been fixed, some of the apps on the platform had a wrongful access to consumers photos for 12 days between September 13 and September 25. 
Computing

You can now get a Surface Laptop 2 for $800 at the Microsoft Store

Along with deals on other variants, starting configurations of Microsoft's Surface Laptop 2 are now going for $800 online at its retail store, cutting $200 from its usual $1,000 starting price. 
Computing

You’ll soon be able to scribble all over PDFs on your Chromebook

Chrome OS users may soon be able to doodle all over their PDF documents with the possible addition of a new feature in Chrome OS' PDF viewer. The annotation feature is expected to allow users to hand draw or write over their documents.
Computing

Need a monitor for professional photo-editing? These are the very best

Looking for the best monitor for photo editing? You'll need to factor in brightness, color accuracy, color gamut support and more. Fortunately, we've rounded up the best ones for you, to help you make an educated purchase.
Computing

HDR monitors are beginning to have an impact. Here are the best you can buy

HDR isn't the most common of PC monitor features and is often charged at a premium, but the list of available options is growing. These are the best HDR monitors you can buy right now.
Virtual Reality

Oculus Rift vs. HTC Vive: Prices drop, but our favorite stays the same

The Oculus Rift and HTC Vive are the two big names in the virtual reality arena, but most people can only afford one. Our comparison tells you which is best when you pit the Oculus Rift vs. HTC Vive.
Computing

Microsoft’s Windows 95 throwback was just an ugly sweater giveaway

Microsoft's "softwear" announcement wasn't what we had hoped for. Thursday's announcement was not the new line of wearable tech or SkiFree monster sweater we wished for. But it did deliver the 90s nostalgia we wanted.
Home Theater

Confused about LED vs. LCD TVs? Here's everything you need to know

Our LED vs. LCD TV buying guide explains why these two common types of displays are fundamentally connected, how they differ, what to look for in buying an LED TV, and what's on the horizon for TVs.
Computing

Canada’s winters inspired a startup to warm homes with cryptomining heat waste

Cryptomining may be the key to untold riches and the future of currency, but it’s also an environmental nightmare. Heatmine, thinks it has the answer, but it could mean bolting a mining rig onto every home and business in the country.
Deals

The best MacBook deals for December 2018

If you’re in the market for a new Apple laptop, let us make your work a little easier: We hunted down the best up-to-date MacBook deals available online right now from various retailers.