Documentation
¶
Index ¶
- type ActionInfo
- type ActionInfos
- type Daemon
- type Keyboard
- func (kbd *Keyboard) AddLayoutOption(option string) *dbus.Error
- func (kbd *Keyboard) AddUserLayout(layout string) *dbus.Error
- func (kbd *Keyboard) ClearLayoutOption() *dbus.Error
- func (kbd *Keyboard) DeleteLayoutOption(option string) *dbus.Error
- func (kbd *Keyboard) DeleteUserLayout(layout string) *dbus.Error
- func (v *Keyboard) GetExportedMethods() dbusutil.ExportedMethods
- func (*Keyboard) GetInterfaceName() string
- func (kbd *Keyboard) GetLayoutDesc(layout string) (string, *dbus.Error)
- func (kbd *Keyboard) LayoutList() (map[string]string, *dbus.Error)
- func (kbd *Keyboard) Reset() *dbus.Error
- type Manager
- type Mouse
- type Mouses
- type OutputInfo
- type Touchpad
- type Touchpads
- type TrackPoint
- type Wacom
- type XConfigItem
- type XKBConfigRegister
- type XLayout
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionInfo ¶
type ActionInfos ¶
type ActionInfos []*ActionInfo
type Daemon ¶
type Daemon struct {
*loader.ModuleBase
}
func NewInputdevicesDaemon ¶
func (*Daemon) GetDependencies ¶
type Keyboard ¶
type Keyboard struct {
PropsMu sync.RWMutex
CurrentLayout string `prop:"access:rw"`
// dbusutil-gen: equal=nil
UserLayoutList []string
// dbusutil-gen: ignore-below
LayoutScope gsprop.Enum `prop:"access:rw"`
RepeatEnabled gsprop.Bool `prop:"access:rw"`
CapslockToggle gsprop.Bool `prop:"access:rw"`
CursorBlink gsprop.Int `prop:"access:rw"`
RepeatInterval gsprop.Uint `prop:"access:rw"`
RepeatDelay gsprop.Uint `prop:"access:rw"`
UserOptionList gsprop.Strv
// contains filtered or unexported fields
}
func (*Keyboard) ClearLayoutOption ¶
func (*Keyboard) DeleteLayoutOption ¶
func (*Keyboard) DeleteUserLayout ¶
func (*Keyboard) GetExportedMethods ¶
func (v *Keyboard) GetExportedMethods() dbusutil.ExportedMethods
func (*Keyboard) GetInterfaceName ¶
func (*Keyboard) GetLayoutDesc ¶
type Manager ¶
type Manager struct {
Infos devicePathInfos // readonly
WheelSpeed gsprop.Uint `prop:"access:rw"`
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) GetExportedMethods ¶
func (v *Manager) GetExportedMethods() dbusutil.ExportedMethods
func (*Manager) GetInterfaceName ¶
type Mouse ¶
type Mouse struct {
PropsMu sync.RWMutex
DeviceList string
Exist bool
// dbusutil-gen: ignore-below
LeftHanded gsprop.Bool `prop:"access:rw"`
DisableTpad gsprop.Bool `prop:"access:rw"`
NaturalScroll gsprop.Bool `prop:"access:rw"`
MiddleButtonEmulation gsprop.Bool `prop:"access:rw"`
AdaptiveAccelProfile gsprop.Bool `prop:"access:rw"`
MotionAcceleration gsprop.Double `prop:"access:rw"`
MotionThreshold gsprop.Double `prop:"access:rw"`
MotionScaling gsprop.Double `prop:"access:rw"`
DoubleClick gsprop.Int `prop:"access:rw"`
DragThreshold gsprop.Int `prop:"access:rw"`
// contains filtered or unexported fields
}
func (*Mouse) GetExportedMethods ¶
func (v *Mouse) GetExportedMethods() dbusutil.ExportedMethods
func (*Mouse) GetInterfaceName ¶
type OutputInfo ¶
func (*OutputInfo) Contains ¶
func (i *OutputInfo) Contains(x, y int16) bool
func (*OutputInfo) String ¶
func (i *OutputInfo) String() string
type Touchpad ¶
type Touchpad struct {
PropsMu sync.RWMutex
Exist bool
DeviceList string
// dbusutil-gen: ignore-below
TPadEnable gsprop.Bool `prop:"access:rw"`
LeftHanded gsprop.Bool `prop:"access:rw"`
DisableIfTyping gsprop.Bool `prop:"access:rw"`
NaturalScroll gsprop.Bool `prop:"access:rw"`
EdgeScroll gsprop.Bool `prop:"access:rw"`
HorizScroll gsprop.Bool `prop:"access:rw"`
VertScroll gsprop.Bool `prop:"access:rw"`
TapClick gsprop.Bool `prop:"access:rw"`
PalmDetect gsprop.Bool `prop:"access:rw"`
MotionAcceleration gsprop.Double `prop:"access:rw"`
MotionThreshold gsprop.Double `prop:"access:rw"`
MotionScaling gsprop.Double `prop:"access:rw"`
DoubleClick gsprop.Int `prop:"access:rw"`
DragThreshold gsprop.Int `prop:"access:rw"`
DeltaScroll gsprop.Int `prop:"access:rw"`
PalmMinWidth gsprop.Int `prop:"access:rw"`
PalmMinZ gsprop.Int `prop:"access:rw"`
// contains filtered or unexported fields
}
func (*Touchpad) GetExportedMethods ¶
func (v *Touchpad) GetExportedMethods() dbusutil.ExportedMethods
func (*Touchpad) GetInterfaceName ¶
type TrackPoint ¶
type TrackPoint struct {
PropsMu sync.RWMutex
DeviceList string
Exist bool
// dbusutil-gen: ignore-below
MiddleButtonEnabled gsprop.Bool `prop:"access:rw"`
WheelEmulation gsprop.Bool `prop:"access:rw"`
WheelHorizScroll gsprop.Bool `prop:"access:rw"`
MiddleButtonTimeout gsprop.Int `prop:"access:rw"`
WheelEmulationButton gsprop.Int `prop:"access:rw"`
WheelEmulationTimeout gsprop.Int `prop:"access:rw"`
MotionAcceleration gsprop.Double `prop:"access:rw"`
MotionThreshold gsprop.Double `prop:"access:rw"`
MotionScaling gsprop.Double `prop:"access:rw"`
LeftHanded gsprop.Bool `prop:"access:rw"`
// contains filtered or unexported fields
}
func (*TrackPoint) GetExportedMethods ¶
func (v *TrackPoint) GetExportedMethods() dbusutil.ExportedMethods
func (*TrackPoint) GetInterfaceName ¶
func (*TrackPoint) GetInterfaceName() string
func (*TrackPoint) Reset ¶
func (tp *TrackPoint) Reset() *dbus.Error
type Wacom ¶
type Wacom struct {
PropsMu sync.RWMutex
DeviceList string
Exist bool
MapOutput string
// dbusutil-gen: ignore-below
LeftHanded gsprop.Bool `prop:"access:rw"`
CursorMode gsprop.Bool `prop:"access:rw"`
ForceProportions gsprop.Bool `prop:"access:rw"`
MouseEnterRemap gsprop.Bool `prop:"access:rw"` // need remap when mouse enter new screen
KeyUpAction gsprop.String `prop:"access:rw"`
KeyDownAction gsprop.String `prop:"access:rw"`
Suppress gsprop.Uint `prop:"access:rw"`
StylusPressureSensitive gsprop.Uint `prop:"access:rw"`
EraserPressureSensitive gsprop.Uint `prop:"access:rw"`
StylusRawSample gsprop.Uint `prop:"access:rw"`
EraserRawSample gsprop.Uint `prop:"access:rw"`
StylusThreshold gsprop.Uint `prop:"access:rw"`
EraserThreshold gsprop.Uint `prop:"access:rw"`
ActionInfos ActionInfos // TODO: remove this field
// contains filtered or unexported fields
}
func (*Wacom) GetExportedMethods ¶
func (v *Wacom) GetExportedMethods() dbusutil.ExportedMethods
func (*Wacom) GetInterfaceName ¶
type XConfigItem ¶
type XKBConfigRegister ¶
type XKBConfigRegister struct {
Layouts []XLayout `xml:"layoutList>layout"`
}
type XLayout ¶
type XLayout struct {
ConfigItem XConfigItem `xml:"configItem"`
Variants []XConfigItem `xml:"variantList>variant>configItem"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.