Module pyinsim :: Class IS_SCH
[hide private]
[frames] | no frames]

Class IS_SCH

source code

Single CHaracter

You can send individual key presses to LFS with the IS_SCH packet. For standard keys (e.g. V and H) you should send a capital letter. This does not work with some keys like F keys, arrows or CTRL keys. You can also use IS_MST with the /press /shift /ctrl /alt commands.

Instance Methods [hide private]
 
__init__(self, ReqI=0, CharB=0, Flags=0)
Initialise the packet.
source code
string
pack(self)
Pack the packet values into a binary formatted string.
source code
 
unpack(self, data)
Unpack the packet data from a binary formatted string.
source code
Method Details [hide private]

__init__(self, ReqI=0, CharB=0, Flags=0)
(Constructor)

source code 

Initialise the packet.

Parameters:
  • ReqI - 0
  • CharB - key to press
  • Flags - bit 0 : SHIFT / bit 1 : CTRL

pack(self)

source code 

Pack the packet values into a binary formatted string.

Returns: string
A binary formatted string.

unpack(self, data)

source code 

Unpack the packet data from a binary formatted string.

Parameters:
  • data (string) - The packet data as a binary formatted string.