Platforms to show: All Mac Windows Linux Cross-Platform
/ComputerControl/Linux Key Codes
Required plugins for this example: MBS ComputerControl Plugin
You find this example project in your Plugins Download as a Xojo project file within the examples folder: /ComputerControl/Linux Key Codes
This example is the version from Sun, 17th Mar 2012.
Project "Linux Key Codes.xojo_binary_project"
Class App Inherits Application
Const kEditClear = "&Delete"
Const kFileQuit = "&Quit"
Const kFileQuitShortcut = ""
End Class
Class Window1 Inherits Window
Control Listbox1 Inherits Listbox
ControlInstance Listbox1 Inherits Listbox
EventHandler Sub Open()
dim i,s as integer
for i=0 to 127
me.AddRow str(i)
s=RemoteControlMBS.LinuxKeyCodeToKeySymbol(i,0)
me.cell(me.lastIndex,1)=str(s)
me.cell(me.lastIndex,2)=remoteControlMBS.LinuxKeySymbolToKeyName(s)
s=RemoteControlMBS.LinuxKeyCodeToKeySymbol(i,1)
me.cell(me.lastIndex,3)=str(s)
me.cell(me.lastIndex,4)=remoteControlMBS.LinuxKeySymbolToKeyName(s)
next
End EventHandler
End Control
End Class
MenuBar MenuBar1
MenuItem FileMenu = "&File"
MenuItem FileQuit = "#App.kFileQuit"
MenuItem EditMenu = "&Edit"
MenuItem EditUndo = "&Undo"
MenuItem UntitledMenu1 = "-"
MenuItem EditCut = "Cu&t"
MenuItem EditCopy = "&Copy"
MenuItem EditPaste = "&Paste"
MenuItem EditClear = "#App.kEditClear"
MenuItem UntitledMenu0 = "-"
MenuItem EditSelectAll = "Select &All"
End MenuBar
End Project
The items on this page are in the following plugins: MBS ComputerControl Plugin.