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

Class IS_MOD

source code

MODe : send to LFS to change screen mode

Instance Methods [hide private]
 
__init__(self, ReqI=0, Bits16=0, RR=0, Width=0, Height=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, Bits16=0, RR=0, Width=0, Height=0)
(Constructor)

source code 

Initialise the packet.

Parameters:
  • ReqI - 0
  • Bits16 - set to choose 16-bit
  • RR - refresh rate - zero for default
  • Width - 0 means go to window
  • Height - 0 means go to window

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.