mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-08 21:03:54 +08:00
Fixed win32 config saving, keyboard mapping, and AltGr bugs.
Made extensive changes to the launcher to provide more control over setting up auto-start and it now saves configuration to the user's documents directory if auto-starting at login and saves to the system directory if auto-starting at boot. Replaced MapVirtualKey() with table lookup to work around that function's lack of support for extended keyboard scan codes. Added first cut at support for AltGr.
This commit is contained in:
@@ -38,14 +38,15 @@ CUnixPlatform::~CUnixPlatform()
|
||||
}
|
||||
|
||||
bool
|
||||
CUnixPlatform::installDaemon(const char*, const char*, const char*, const char*)
|
||||
CUnixPlatform::installDaemon(const char*, const char*,
|
||||
const char*, const char*, bool)
|
||||
{
|
||||
// daemons don't require special installation
|
||||
return true;
|
||||
}
|
||||
|
||||
CUnixPlatform::EResult
|
||||
CUnixPlatform::uninstallDaemon(const char*)
|
||||
CUnixPlatform::uninstallDaemon(const char*, bool)
|
||||
{
|
||||
// daemons don't require special installation
|
||||
return kSuccess;
|
||||
@@ -106,6 +107,18 @@ CUnixPlatform::installDaemonLogger(const char* name)
|
||||
CLog::setOutputter(&CUnixPlatform::deamonLogger);
|
||||
}
|
||||
|
||||
bool
|
||||
CUnixPlatform::canInstallDaemon(const char*, bool) const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
bool
|
||||
CUnixPlatform::isDaemonInstalled(const char*, bool) const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
const char*
|
||||
CUnixPlatform::getBasename(const char* pathname) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user