ExPilot.Wx.Keys (ExPilot v0.1.1)

Copy Markdown View Source

The desktop's keys: wx key codes and mouse buttons to ExPilot's actions, the same bindings the browser has.

ExPilot.Wx.Keys.keymap()

Summary

Functions

Every binding, as Cauldron2D.Wx.Input.new/2 takes them.

The actions the pointer also drives.

Functions

keymap()

@spec keymap() :: %{required(integer() | {:mouse, atom()}) => atom()}

Every binding, as Cauldron2D.Wx.Input.new/2 takes them.

steering()

@spec steering() :: [atom()]

The actions the pointer also drives.