pub trait IHidServer: IObject {
Show 15 methods
fn create_applet_resource(
&mut self,
aruid: ProcessId
) -> Result<Shared<dyn IAppletResource>>;
fn set_supported_npad_style_set(
&mut self,
aruid: ProcessId,
npad_style_tag: NpadStyleTag
) -> Result<()>;
fn set_supported_npad_id_type(
&mut self,
aruid: ProcessId,
controllers: InPointerBuffer<ControllerId>
) -> Result<()>;
fn activate_npad(&mut self, aruid: ProcessId) -> Result<()>;
fn deactivate_npad(&mut self, aruid: ProcessId) -> Result<()>;
fn set_npad_joy_assignment_mode_single(
&mut self,
aruid: ProcessId,
controller: ControllerId,
joy_type: NpadJoyDeviceType
) -> Result<()>;
fn set_npad_joy_assignment_mode_dual(
&mut self,
aruid: ProcessId,
controller: ControllerId
) -> Result<()>;
fn sf_server_impl_create_applet_resource(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_set_supported_npad_style_set(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_set_supported_npad_id_type(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_activate_npad(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_deactivate_npad(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_set_npad_joy_assignment_mode_single(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn sf_server_impl_set_npad_joy_assignment_mode_dual(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()> { ... }
fn get_sf_command_metadata_table(&self) -> CommandMetadataTable { ... }
}