mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 03:59:36 +00:00
Replace MacRoman conversion with LIBICONV implementation
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#include "InputManager.h"
|
||||
#include "MacRoman.h"
|
||||
#include "MacRomanConversion.h"
|
||||
#include "PLKeyEncoding.h"
|
||||
|
||||
#include <string.h>
|
||||
@@ -73,7 +73,7 @@ namespace PortabilityLayer
|
||||
case GpKeyIDSubsets::kUnicode:
|
||||
for (int i = 0; i < 256; i++)
|
||||
{
|
||||
if (MacRoman::g_toUnicode[i] == vosEvent.m_key.m_unicodeChar)
|
||||
if (MacRoman::ToUnicode(i) == vosEvent.m_key.m_unicodeChar)
|
||||
{
|
||||
if (i < 128)
|
||||
m_keyMap.m_ascii.Set(i, bit);
|
||||
|
||||
Reference in New Issue
Block a user