Platforms to show: All Mac Windows Linux Cross-Platform

Back to CGEventSourceMBS class.

CGEventSourceMBS.KeyboardType as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreGraphics Events MBS MacCF Plugin 18.5 ✅ Yes ❌ No ❌ No ✅ Yes All
The keyboard type.

e.g. 198 for Touchbar or 59 for Macbook Pro keyboard.
(Read only property)

CGEventSourceMBS.UserData as Int64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreGraphics Events MBS MacCF Plugin 18.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Custom user data to associate with event source.

(Read and Write property)

The items on this page are in the following plugins: MBS MacCF Plugin.


The biggest plugin in space...