iTunes-Volume-Control icon indicating copy to clipboard operation
iTunes-Volume-Control copied to clipboard

Support for MacBook Pro TouchBar

Open deadlinex opened this issue 4 years ago • 3 comments

Hi, I installed your app and is not working with the multimedia control in the TouchBar (see first screenshot). Instead if I use the "classic" hotkeys it works. Is there any possibility to integrate your app with that? Scatto di Touch Bar 2020-04-01 alle 11 42 02 Scatto di Touch Bar 2020-04-01 alle 11 44 19

deadlinex avatar Apr 01 '20 10:04 deadlinex

For sure there is and it would be probably not that hard. However, I need to check how I can simulate these keys on my computer since I don't have any keyboard of that kind. I will let you know if I find some way.

On 1. Apr 2020, at 12:33, deadlinex [email protected] wrote:

Hi, I installed your app and is not working with the multimedia control in the TouchBar (see first screenshot). Instead if I use the "classic" hotkeys it works. Is there any possibility to integrate your app with that? https://user-images.githubusercontent.com/38771342/78127714-f530b780-7414-11ea-92b6-6b30f566c361.jpg https://user-images.githubusercontent.com/38771342/78127722-f95cd500-7414-11ea-9eab-269c46adca0f.jpg — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/alberti42/iTunes-Volume-Control/issues/19, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAPC4GENKFNQWCYQDV56TLRKMKAZANCNFSM4LYX75WQ.

alberti42 avatar Apr 01 '20 12:04 alberti42

I have realized that Xcode allows one to simulate the TouchBar. This was not a problem. I can intercept the event of sliding the volume with the TouchBar. It has a different code. However, there is a problem. Sliding the bar behaves differently than just pressing a key. My app can intercept events such as pressing a key and redefining what has to happen. In the case of sliding the volume bar, something different happens. It seems that it communicates directly with the system's volume control. Thus, I expect it would be harder to change this behavior. Probably it is still doable without reverse engineering assembly code to find out undocumented functions. Unfortunately I don't have time for that. If someone can give me a hint, I will be glad to implement this feature.

On 1. Apr 2020, at 12:33, deadlinex [email protected] wrote:

Hi, I installed your app and is not working with the multimedia control in the TouchBar (see first screenshot). Instead if I use the "classic" hotkeys it works. Is there any possibility to integrate your app with that? https://user-images.githubusercontent.com/38771342/78127714-f530b780-7414-11ea-92b6-6b30f566c361.jpg https://user-images.githubusercontent.com/38771342/78127722-f95cd500-7414-11ea-9eab-269c46adca0f.jpg — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/alberti42/iTunes-Volume-Control/issues/19, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAPC4GENKFNQWCYQDV56TLRKMKAZANCNFSM4LYX75WQ.

alberti42 avatar Apr 01 '20 12:04 alberti42

Understood. I suppose this different type of communication is something related to the T2 Chip and bridgeOS. I don't have any technical knowledge about reverse engineering so I'll use it via hot keys (FN enables the "standard" function keys on TouchBar). Thank you for your quick answer

deadlinex avatar Apr 01 '20 20:04 deadlinex